Skip to content

Commit

Permalink
ide-cd: remove no longer needed 'ignore' module parameter
Browse files Browse the repository at this point in the history
ide-scsi is gone...

Cc: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Mar 31, 2009
1 parent 1ab6d74 commit 6041e8f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions drivers/ide/ide-cd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1942,9 +1942,6 @@ static struct block_device_operations idecd_ops = {
};

/* module options */
static char *ignore;
module_param(ignore, charp, 0400);

static unsigned long debug_mask;
module_param(debug_mask, ulong, 0644);

Expand All @@ -1965,15 +1962,6 @@ static int ide_cd_probe(ide_drive_t *drive)
if (drive->media != ide_cdrom && drive->media != ide_optical)
goto failed;

/* skip drives that we were told to ignore */
if (ignore != NULL) {
if (strstr(ignore, drive->name)) {
printk(KERN_INFO PFX "ignoring drive %s\n",
drive->name);
goto failed;
}
}

drive->debug_mask = debug_mask;
drive->irq_handler = cdrom_newpc_intr;

Expand Down

0 comments on commit 6041e8f

Please sign in to comment.