Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139407
b: refs/heads/master
c: 6041e8f
h: refs/heads/master
i:
  139405: 19705f5
  139403: c3a885e
  139399: a90d359
  139391: 0254053
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Mar 31, 2009
1 parent cbfa62a commit 0463946
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1ab6d7451684078bfc4fbabc432f0ef8a809e975
refs/heads/master: 6041e8fba8b9a9a64bd7402be700b0f1247a9c55
12 changes: 0 additions & 12 deletions trunk/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 0463946

Please sign in to comment.