[PATCH] 2.5.21 kill warnings 3/19

From: Martin Dalecki (dalecki@evision-ventures.com)
Date: Mon Jun 10 2002 - 06:24:40 EST


Kill unused variables in legacy cdrom drivers,
after the janitorial patch got in.

diff -urN linux-2.5.21/drivers/cdrom/optcd.c linux/drivers/cdrom/optcd.c
--- linux-2.5.21/drivers/cdrom/optcd.c 2002-06-09 07:28:11.000000000 +0200
+++ linux/drivers/cdrom/optcd.c 2002-06-09 19:15:18.000000000 +0200
@@ -1507,7 +1507,6 @@
 
 static int cdromreadtochdr(unsigned long arg)
 {
- int status;
         struct cdrom_tochdr tochdr;
 
         tochdr.cdth_trk0 = disk_info.first;
@@ -1519,7 +1518,6 @@
 
 static int cdromreadtocentry(unsigned long arg)
 {
- int status;
         struct cdrom_tocentry entry;
         struct cdrom_subchnl *tocptr;
 
@@ -1646,7 +1644,6 @@
 #ifdef MULTISESSION
 static int cdrommultisession(unsigned long arg)
 {
- int status;
         struct cdrom_multisession ms;
 
         if (copy_from_user(&ms, (void*) arg, sizeof ms))
diff -urN linux-2.5.21/drivers/cdrom/sonycd535.c linux/drivers/cdrom/sonycd535.c
--- linux-2.5.21/drivers/cdrom/sonycd535.c 2002-06-09 07:28:49.000000000 +0200
+++ linux/drivers/cdrom/sonycd535.c 2002-06-09 19:00:00.000000000 +0200
@@ -1012,7 +1012,6 @@
 sony_get_subchnl_info(long arg)
 {
         struct cdrom_subchnl schi;
- int err;
 
         /* Get attention stuff */
         if (check_drive_status() != 0)

-
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 : Sat Jun 15 2002 - 22:00:16 EST