diff options
author | Anton Vorontsov <anton.vorontsov@linaro.org> | 2014-11-06 09:36:40 -0500 |
---|---|---|
committer | Jason Wessel <jason.wessel@windriver.com> | 2014-11-11 10:31:51 -0500 |
commit | a2e5d188aad31f7177cbd6d9ddaf8cc9aa4affe0 (patch) | |
tree | d3f20dcf49148380d1b2cf66c28abe70f7d11a39 /kernel/debug | |
parent | 206c5f60a3d902bc4b56dab2de3e88de5eb06108 (diff) |
kdb: Remove currently unused kdbtab_t->cmd_flags
The struct member is never used in the code, so we can remove it.
We will introduce real flags soon by renaming cmd_repeat to cmd_flags.
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Cc: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Diffstat (limited to 'kernel/debug')
-rw-r--r-- | kernel/debug/kdb/kdb_main.c | 1 | ||||
-rw-r--r-- | kernel/debug/kdb/kdb_private.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/kernel/debug/kdb/kdb_main.c b/kernel/debug/kdb/kdb_main.c index 379650b984f8..cc02aa205668 100644 --- a/kernel/debug/kdb/kdb_main.c +++ b/kernel/debug/kdb/kdb_main.c | |||
@@ -2694,7 +2694,6 @@ int kdb_register_repeat(char *cmd, | |||
2694 | kp->cmd_func = func; | 2694 | kp->cmd_func = func; |
2695 | kp->cmd_usage = usage; | 2695 | kp->cmd_usage = usage; |
2696 | kp->cmd_help = help; | 2696 | kp->cmd_help = help; |
2697 | kp->cmd_flags = 0; | ||
2698 | kp->cmd_minlen = minlen; | 2697 | kp->cmd_minlen = minlen; |
2699 | kp->cmd_repeat = repeat; | 2698 | kp->cmd_repeat = repeat; |
2700 | 2699 | ||
diff --git a/kernel/debug/kdb/kdb_private.h b/kernel/debug/kdb/kdb_private.h index 7afd3c8c41d5..c4c46c7b26fd 100644 --- a/kernel/debug/kdb/kdb_private.h +++ b/kernel/debug/kdb/kdb_private.h | |||
@@ -172,7 +172,6 @@ typedef struct _kdbtab { | |||
172 | kdb_func_t cmd_func; /* Function to execute command */ | 172 | kdb_func_t cmd_func; /* Function to execute command */ |
173 | char *cmd_usage; /* Usage String for this command */ | 173 | char *cmd_usage; /* Usage String for this command */ |
174 | char *cmd_help; /* Help message for this command */ | 174 | char *cmd_help; /* Help message for this command */ |
175 | short cmd_flags; /* Parsing flags */ | ||
176 | short cmd_minlen; /* Minimum legal # command | 175 | short cmd_minlen; /* Minimum legal # command |
177 | * chars required */ | 176 | * chars required */ |
178 | kdb_repeat_t cmd_repeat; /* Does command auto repeat on enter? */ | 177 | kdb_repeat_t cmd_repeat; /* Does command auto repeat on enter? */ |