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 3/19
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)
\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.950 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site