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 {