[PATCH 1/2] Remove redundant count variable in cmd_bt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Aaron Tomlin <atomlin@xxxxxxxxxx>
---
 kernel.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel.c b/kernel.c
index cdc53eb..4dd7e5f 100644
--- a/kernel.c
+++ b/kernel.c
@@ -1972,7 +1972,7 @@ cmd_bt(void)
 	int i, c;
 	ulong value;
         struct task_context *tc;
-	int count, subsequent, active;
+	int subsequent, active;
 	struct stack_hook hook;
 	struct bt_info bt_info, bt_setup, *bt;
 	struct reference reference;
@@ -1980,7 +1980,7 @@ cmd_bt(void)
 	ulong tgid;
 
 	tc = NULL;
-	subsequent = active = count = 0;
+	subsequent = active = 0;
 	hook.eip = hook.esp = 0;
 	refptr = 0;
 	bt = &bt_info;
-- 
1.9.0

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility




[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux