summaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-05-15 15:45:55 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-05-15 15:50:55 +0200
commit6e36255221d588f5de20b124748b589249ea825b (patch)
tree5fbaa4cef1d00d3249806fc8a94fd6e9b0f5d3fa /openbsc/include/openbsc
parent1159005ae02f8c9e42624769ec1b2a8d84c9dee5 (diff)
ctrl: Remove the param parameter as it was never used/implemented
Diffstat (limited to 'openbsc/include/openbsc')
-rw-r--r--openbsc/include/openbsc/control_cmd.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/openbsc/include/openbsc/control_cmd.h b/openbsc/include/openbsc/control_cmd.h
index a87c469a8..479286983 100644
--- a/openbsc/include/openbsc/control_cmd.h
+++ b/openbsc/include/openbsc/control_cmd.h
@@ -66,7 +66,6 @@ struct ctrl_cmd_struct {
struct ctrl_cmd_element {
const char *name;
- const char *param;
struct ctrl_cmd_struct strcmd;
int (*set)(struct ctrl_cmd *cmd, void *data);
int (*get)(struct ctrl_cmd *cmd, void *data);
@@ -125,7 +124,6 @@ static int verify_##cmdname(struct ctrl_cmd *cmd, const char *value, void *_data
CTRL_HELPER_VERIFY_RANGE(cmdname, min, max) \
static struct ctrl_cmd_element cmd_##cmdname = { \
.name = cmdstr, \
- .param = NULL, \
.get = &get_##cmdname, \
.set = &set_##cmdname, \
.verify = &verify_##cmdname, \
@@ -154,7 +152,6 @@ static int set_##cmdname(struct ctrl_cmd *cmd, void *_data) \
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 = NULL, \
@@ -166,7 +163,6 @@ static int set_##cmdname(struct ctrl_cmd *cmd, void *data); \
static int verify_##cmdname(struct ctrl_cmd *cmd, const char *value, void *data); \
static struct ctrl_cmd_element cmd_##cmdname = { \
.name = cmdstr, \
- .param = NULL, \
.get = &get_##cmdname, \
.set = &set_##cmdname, \
.verify = &verify_##cmdname, \