* [PATCH] arch/i386/kernel/traps.c warning
@ 2003-06-15 16:29 Geert Uytterhoeven
0 siblings, 0 replies; only message in thread
From: Geert Uytterhoeven @ 2003-06-15 16:29 UTC (permalink / raw)
To: Linux Kernel Development
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-06-15 16:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-15 16:29 [PATCH] arch/i386/kernel/traps.c warning Geert Uytterhoeven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).