Commit a7a81793 authored by Martin Dalecki's avatar Martin Dalecki Committed by Linus Torvalds

[PATCH] kill warnings 3/19

Kill unused variables in legacy cdrom drivers,
after the janitorial patch got in.
parent 676a1caa
......@@ -1507,7 +1507,6 @@ static int cdromplaytrkind(unsigned long arg)
static int cdromreadtochdr(unsigned long arg)
{
int status;
struct cdrom_tochdr tochdr;
tochdr.cdth_trk0 = disk_info.first;
......@@ -1519,7 +1518,6 @@ static int cdromreadtochdr(unsigned long arg)
static int cdromreadtocentry(unsigned long arg)
{
int status;
struct cdrom_tocentry entry;
struct cdrom_subchnl *tocptr;
......@@ -1646,7 +1644,6 @@ static int cdromseek(unsigned long arg)
#ifdef MULTISESSION
static int cdrommultisession(unsigned long arg)
{
int status;
struct cdrom_multisession ms;
if (copy_from_user(&ms, (void*) arg, sizeof ms))
......
......@@ -1012,7 +1012,6 @@ static int
sony_get_subchnl_info(long arg)
{
struct cdrom_subchnl schi;
int err;
/* Get attention stuff */
if (check_drive_status() != 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment