diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2011-06-30 14:12:00 -0500 |
---|---|---|
committer | Jason Wessel <jason.wessel@windriver.com> | 2011-08-01 13:23:58 -0500 |
commit | 3bdb65ec95e6cccffc40102d7c003047c45da90c (patch) | |
tree | 6a93a5c062d5b7c496268005503749bb9080a217 /kernel/debug/kdb/kdb_bt.c | |
parent | 02f8c6aee8df3cdc935e9bdd4f2d020306035dbe (diff) |
kdb: cleanup unused variables missed in the original kdb merge
The BTARGS and BTSYMARG variables do not have any function in the
mainline version of kdb.
Reported-by: Tim Bird <tim.bird@am.sony.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Diffstat (limited to 'kernel/debug/kdb/kdb_bt.c')
-rw-r--r-- | kernel/debug/kdb/kdb_bt.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/debug/kdb/kdb_bt.c b/kernel/debug/kdb/kdb_bt.c index 2f62fe85f16a..7179eac7b41c 100644 --- a/kernel/debug/kdb/kdb_bt.c +++ b/kernel/debug/kdb/kdb_bt.c @@ -112,9 +112,8 @@ kdb_bt(int argc, const char **argv) unsigned long addr; long offset; - kdbgetintenv("BTARGS", &argcount); /* Arguments to print */ - kdbgetintenv("BTAPROMPT", &btaprompt); /* Prompt after each - * proc in bta */ + /* Prompt after each proc in bta */ + kdbgetintenv("BTAPROMPT", &btaprompt); if (strcmp(argv[0], "bta") == 0) { struct task_struct *g, *p; |