]> git.karo-electronics.de Git - mv-sheeva.git/commit
icside: remove superfluous ->maskproc method
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sun, 7 Jun 2009 13:37:06 +0000 (15:37 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sun, 7 Jun 2009 13:37:06 +0000 (15:37 +0200)
commitdff8817b78e6e6a4913f2caf7637d62dcc49a03c
tree2a9864fea9bb685813bdf5745ec7ab51f81c6aa7
parent49d8078ad1c3dca5b11ce18391bf6bd9af9acdf5
icside: remove superfluous ->maskproc method

[inspired by pata_icside]

Enabling/disabling of card IRQs is handled fine by IRQ and IDE
subsystems so there is no need for custom ->maskproc method.

Moreover icside_maskproc() would enable IRQ only if it was already
enabled [because of 'if (state->enabled && !mask)' check].

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/icside.c