[2.6 patch] drivers/char/istallion.c: remove an unneeded variable

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

 



This patch removes an unneeded global variable.

Signed-off-by: Adrian Bunk <[email protected]>

---

 drivers/char/istallion.c |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)

--- linux-2.6.12-rc2-mm3-full/drivers/char/istallion.c.old	2005-04-17 18:05:53.000000000 +0200
+++ linux-2.6.12-rc2-mm3-full/drivers/char/istallion.c	2005-04-17 18:07:32.000000000 +0200
@@ -407,7 +407,6 @@
 };
 
 static int	stli_eisamempsize = sizeof(stli_eisamemprobeaddrs) / sizeof(unsigned long);
-int		stli_eisaprobe = STLI_EISAPROBE;
 
 /*
  *	Define the Stallion PCI vendor and device IDs.
@@ -4685,7 +4684,7 @@
 #ifdef MODULE
 	stli_argbrds();
 #endif
-	if (stli_eisaprobe)
+	if (STLI_EISAPROBE)
 		stli_findeisabrds();
 #ifdef CONFIG_PCI
 	stli_findpcibrds();

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux