summaryrefslogtreecommitdiffstats
path: root/arch/x86/tools
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2009-12-06 12:40:59 +0100
committerIngo Molnar <mingo@elte.hu>2009-12-06 12:53:40 +0100
commitbe2bf0a2dfbba785860284968fa055006eb1610e (patch)
tree4028a44a914302421b812c23d1f1eab53816a8b0 /arch/x86/tools
parent59b4caeb797494043f5f3b98a610f5d9b75eefa3 (diff)
x86, perf probe: Fix warning in test_get_len()
Fix the following warning: arch/x86/tools/test_get_len.c: In function "main": arch/x86/tools/test_get_len.c:116: warning: unused variable "c" Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Masami Hiramatsu <mhiramat@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/tools')
-rw-r--r--arch/x86/tools/test_get_len.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/tools/test_get_len.c b/arch/x86/tools/test_get_len.c
index d8214dc03fa..bee8d6ac269 100644
--- a/arch/x86/tools/test_get_len.c
+++ b/arch/x86/tools/test_get_len.c
@@ -113,7 +113,7 @@ int main(int argc, char **argv)
char line[BUFSIZE], sym[BUFSIZE] = "<unknown>";
unsigned char insn_buf[16];
struct insn insn;
- int insns = 0, c;
+ int insns = 0;
int warnings = 0;
parse_args(argc, argv);