[PATCH] 2.5.21 kill warnings 2/19

Martin Dalecki
2002-06-10T12:21:56Z

[-- Attachment #1: Type: text/plain, Size: 65 bytes --]

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

[-- Attachment #2: warn-2.5.21-2.diff --]
[-- Type: text/plain, Size: 820 bytes --]

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)) {