diff options
Diffstat (limited to 'drivers/ide')
-rw-r--r-- | drivers/ide/ide-io.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/ide/ide-io.c b/drivers/ide/ide-io.c index a0309ea661ac..ef806ab88fb4 100644 --- a/drivers/ide/ide-io.c +++ b/drivers/ide/ide-io.c | |||
@@ -201,12 +201,8 @@ static ide_startstop_t ide_disk_special(ide_drive_t *drive) | |||
201 | } else if (s->b.set_multmode) { | 201 | } else if (s->b.set_multmode) { |
202 | s->b.set_multmode = 0; | 202 | s->b.set_multmode = 0; |
203 | ide_tf_set_setmult_cmd(drive, &cmd.tf); | 203 | ide_tf_set_setmult_cmd(drive, &cmd.tf); |
204 | } else if (s->all) { | 204 | } else |
205 | int special = s->all; | 205 | BUG(); |
206 | s->all = 0; | ||
207 | printk(KERN_ERR "%s: bad special flag: 0x%02x\n", drive->name, special); | ||
208 | return ide_stopped; | ||
209 | } | ||
210 | 206 | ||
211 | cmd.valid.out.tf = IDE_VALID_OUT_TF | IDE_VALID_DEVICE; | 207 | cmd.valid.out.tf = IDE_VALID_OUT_TF | IDE_VALID_DEVICE; |
212 | cmd.valid.in.tf = IDE_VALID_IN_TF | IDE_VALID_DEVICE; | 208 | cmd.valid.in.tf = IDE_VALID_IN_TF | IDE_VALID_DEVICE; |