[PATCH] Fix unused variable warning in drivers/char/dz.c

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

 



Hello Maciej,

this fixes an unused variable warning.


Thiemo


diff -abdpruNPX /bigdisk/src/dontdiff linux-orig/drivers/char/dz.c linux/drivers/char/dz.c
--- linux-orig/drivers/char/dz.c	Wed Apr 23 19:17:01 2003
+++ linux/drivers/char/dz.c	Sun Sep 21 22:28:40 2003
@@ -1299,9 +1299,12 @@ static void show_serial_version(void)
 
 int __init dz_init(void)
 {
-	int i, tmp;
+	int i;
 	long flags;
 	struct dz_serial *info;
+#ifndef CONFIG_SERIAL_DEC_CONSOLE
+	int tmp;
+#endif
 
 	/* Setup base handler, and timer table. */
 	init_bh(SERIAL_BH, do_serial_bh);


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux