diff options
Diffstat (limited to 'drivers/ide')
-rw-r--r-- | drivers/ide/ide-cd.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c index 19ccadead5e8..9d3150f549fe 100644 --- a/drivers/ide/ide-cd.c +++ b/drivers/ide/ide-cd.c | |||
@@ -1942,9 +1942,6 @@ static struct block_device_operations idecd_ops = { | |||
1942 | }; | 1942 | }; |
1943 | 1943 | ||
1944 | /* module options */ | 1944 | /* module options */ |
1945 | static char *ignore; | ||
1946 | module_param(ignore, charp, 0400); | ||
1947 | |||
1948 | static unsigned long debug_mask; | 1945 | static unsigned long debug_mask; |
1949 | module_param(debug_mask, ulong, 0644); | 1946 | module_param(debug_mask, ulong, 0644); |
1950 | 1947 | ||
@@ -1965,15 +1962,6 @@ static int ide_cd_probe(ide_drive_t *drive) | |||
1965 | if (drive->media != ide_cdrom && drive->media != ide_optical) | 1962 | if (drive->media != ide_cdrom && drive->media != ide_optical) |
1966 | goto failed; | 1963 | goto failed; |
1967 | 1964 | ||
1968 | /* skip drives that we were told to ignore */ | ||
1969 | if (ignore != NULL) { | ||
1970 | if (strstr(ignore, drive->name)) { | ||
1971 | printk(KERN_INFO PFX "ignoring drive %s\n", | ||
1972 | drive->name); | ||
1973 | goto failed; | ||
1974 | } | ||
1975 | } | ||
1976 | |||
1977 | drive->debug_mask = debug_mask; | 1965 | drive->debug_mask = debug_mask; |
1978 | drive->irq_handler = cdrom_newpc_intr; | 1966 | drive->irq_handler = cdrom_newpc_intr; |
1979 | 1967 | ||