diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-06-07 15:37:06 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-06-07 15:37:06 +0200 |
commit | f9952beeaa851f7f79a4dd895bfed3f3ff6deebc (patch) | |
tree | d1ab68325300fb7bc6fbfb86c09cb3e76d5814e9 /drivers/ide/ide-taskfile.c | |
parent | icside: remove superfluous ->maskproc method (diff) | |
download | linux-f9952beeaa851f7f79a4dd895bfed3f3ff6deebc.tar.xz linux-f9952beeaa851f7f79a4dd895bfed3f3ff6deebc.zip |
ide: remove superfluous SELECT_MASK() call from ide_driveid_update()
We always call SELECT_MASK(drive, 0) after ide_dev_read_id() call
so there is no need to do it again in the error path.
Moreover with the combination of HPT36x controller and the drive on
the quirk_drives[] list this can result in superfluous enable_irq()
call which in turn will trigger WARN() in __enable_irq().
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-taskfile.c')
0 files changed, 0 insertions, 0 deletions