diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-05-15 15:45:55 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-05-15 15:50:55 +0200 |
commit | 6e36255221d588f5de20b124748b589249ea825b (patch) | |
tree | 5fbaa4cef1d00d3249806fc8a94fd6e9b0f5d3fa /openbsc/src | |
parent | 1159005ae02f8c9e42624769ec1b2a8d84c9dee5 (diff) |
ctrl: Remove the param parameter as it was never used/implemented
Diffstat (limited to 'openbsc/src')
-rw-r--r-- | openbsc/src/libbsc/bsc_ctrl_commands.c | 1 | ||||
-rw-r--r-- | openbsc/src/libctrl/control_cmd.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/openbsc/src/libbsc/bsc_ctrl_commands.c b/openbsc/src/libbsc/bsc_ctrl_commands.c index 37595932f..4c587dca8 100644 --- a/openbsc/src/libbsc/bsc_ctrl_commands.c +++ b/openbsc/src/libbsc/bsc_ctrl_commands.c @@ -30,7 +30,6 @@ CTRL_HELPER_SET_STRING(cmdname, dtype, element) \ static struct ctrl_cmd_element cmd_##cmdname = { \ .name = cmdstr, \ - .param = NULL, \ .get = get_##cmdname, \ .set = set_##cmdname, \ .verify = verify_vty_description_string, \ diff --git a/openbsc/src/libctrl/control_cmd.c b/openbsc/src/libctrl/control_cmd.c index 3c4efc06d..db88668f8 100644 --- a/openbsc/src/libctrl/control_cmd.c +++ b/openbsc/src/libctrl/control_cmd.c @@ -142,8 +142,6 @@ int ctrl_cmd_exec(vector vline, struct ctrl_cmd *command, vector node, void *dat command->reply = "Value failed verification."; goto out; } - } else if (cmd_el->param) { - LOGP(DCTRL, LOGL_NOTICE, "Parameter verification unimplemented, continuing without\n"); } ret = cmd_el->set(command, data); goto out; |