lkml.org 
[lkml]   [2002]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 2.5.21 kill warnings 2/19
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)) {
\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.336 / U:15.024 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site