[PATCH] 2.5.21 kill warnings 2/19

From: Martin Dalecki (dalecki@evision-ventures.com)
Date: Mon Jun 10 2002 - 06:23:12 EST


This is fixing warnings about unused variables in
pd.c and pcd.c

diff -urN linux-2.5.21/drivers/block/paride/pcd.c linux/drivers/block/paride/pcd.c
--- linux-2.5.21/drivers/block/paride/pcd.c 2002-06-09 07:29:30.000000000 +0200
+++ linux/drivers/block/paride/pcd.c 2002-06-09 19:14:13.000000000 +0200
@@ -329,8 +329,8 @@
 }
 
 int pcd_init (void) /* preliminary initialisation */
-
-{ int i, unit;
+{
+ int unit;
 
         if (disable) return -1;
 
diff -urN linux-2.5.21/drivers/block/paride/pd.c linux/drivers/block/paride/pd.c
--- linux-2.5.21/drivers/block/paride/pd.c 2002-06-09 07:31:18.000000000 +0200
+++ linux/drivers/block/paride/pd.c 2002-06-09 19:13:49.000000000 +0200
@@ -381,9 +381,8 @@
 }
 
 int pd_init (void)
-
-{ int i;
- request_queue_t * q;
+{
+ request_queue_t * q;
 
         if (disable) return -1;
         if (devfs_register_blkdev(MAJOR_NR,name,&pd_fops)) {

-
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/



This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:16 EST