[PATCH] : fixed warnings in pdcraid.c

From: Manik Raina (manik@cisco.com)
Date: Wed Nov 07 2001 - 06:56:12 EST


Hi,

This patch fixes the warnings generated when compiling
2.4.14. It fixes the warnings which i have attached
at the end of the mail .....

They're all unused variables.

Manik

diff -r -u /home/manik/linux/orig/linux/drivers/ide/pdcraid.c ./pdcraid.c
--- /home/manik/linux/orig/linux/drivers/ide/pdcraid.c Tue Oct 16 01:57:42 2001
+++ ./pdcraid.c Wed Nov 7 17:09:27 2001
@@ -96,7 +96,7 @@
 static int pdcraid_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg)
 {
         unsigned int minor;
- unsigned long sectors,*larg;
+ unsigned long sectors;
 
         
 
@@ -280,7 +280,6 @@
          */
         return 1;
 
- outerr:
         buffer_IO_error(bh);
         return 0;
 }
@@ -547,7 +546,6 @@
                            
 static __init int pdcraid_init_one(int device,int raidlevel)
 {
- request_queue_t *q;
         int i,count;
 
         probedisk(0, device, raidlevel);
@@ -585,7 +583,7 @@
 
 static __init int pdcraid_init(void)
 {
- int i,retval,device,count=0;
+ int retval,device,count=0;
 
         do {
         



-
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 : Wed Nov 07 2001 - 21:00:34 EST