[PATCH] 2.5.21 kill warnings 2/19

Martin Dalecki (dalecki@evision-ventures.com)
Mon, 10 Jun 2002 13:23:12 +0200


This is a multi-part message in MIME format.
--------------080606000009010801020400
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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

--------------080606000009010801020400
Content-Type: text/plain;
name="warn-2.5.21-2.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="warn-2.5.21-2.diff"

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

--------------080606000009010801020400--

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