diff options
Diffstat (limited to 'drivers/ide/ide-taskfile.c')
-rw-r--r-- | drivers/ide/ide-taskfile.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/ide-taskfile.c b/drivers/ide/ide-taskfile.c index 9233b8109a0f..a839b2a8f6f4 100644 --- a/drivers/ide/ide-taskfile.c +++ b/drivers/ide/ide-taskfile.c | |||
@@ -196,8 +196,7 @@ ide_startstop_t set_geometry_intr (ide_drive_t *drive) | |||
196 | if (stat & (ERR_STAT|DRQ_STAT)) | 196 | if (stat & (ERR_STAT|DRQ_STAT)) |
197 | return ide_error(drive, "set_geometry_intr", stat); | 197 | return ide_error(drive, "set_geometry_intr", stat); |
198 | 198 | ||
199 | if (HWGROUP(drive)->handler != NULL) | 199 | BUG_ON(HWGROUP(drive)->handler != NULL); |
200 | BUG(); | ||
201 | ide_set_handler(drive, &set_geometry_intr, WAIT_WORSTCASE, NULL); | 200 | ide_set_handler(drive, &set_geometry_intr, WAIT_WORSTCASE, NULL); |
202 | return ide_started; | 201 | return ide_started; |
203 | } | 202 | } |