diff options
Diffstat (limited to 'drivers/ide/ide.c')
-rw-r--r-- | drivers/ide/ide.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index f5a60912c271..9799aed772e1 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c | |||
@@ -1367,8 +1367,7 @@ int generic_ide_ioctl(ide_drive_t *drive, struct file *file, struct block_device | |||
1367 | 1367 | ||
1368 | ide_abort(drive, "drive reset"); | 1368 | ide_abort(drive, "drive reset"); |
1369 | 1369 | ||
1370 | if(HWGROUP(drive)->handler) | 1370 | BUG_ON(HWGROUP(drive)->handler); |
1371 | BUG(); | ||
1372 | 1371 | ||
1373 | /* Ensure nothing gets queued after we | 1372 | /* Ensure nothing gets queued after we |
1374 | drop the lock. Reset will clear the busy */ | 1373 | drop the lock. Reset will clear the busy */ |