lkml.org 
[lkml]   [2003]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] arch/i386/kernel/traps.c warning

Kill warning about unused variable (untested)

--- linux-2.5.71/arch/i386/kernel/traps.c.orig Tue May 27 19:02:31 2003
+++ linux-2.5.71/arch/i386/kernel/traps.c Wed Jun 11 10:22:22 2003
@@ -94,7 +94,6 @@

void show_trace(unsigned long * stack)
{
- int i;
unsigned long addr;

if (!stack)
@@ -104,7 +103,6 @@
#ifdef CONFIG_KALLSYMS
printk("\n");
#endif
- i = 1;
while (((long) stack & (THREAD_SIZE-1)) != 0) {
addr = *stack++;
if (kernel_text_address(addr)) {
Gr{oetje,eeting}s,
Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.029 / U:11.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site