diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2009-12-07 19:36:15 (GMT) |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-03-01 19:58:43 (GMT) |
commit | 859faa875ed6760fcdfaf6f1fec1155a7e43dc21 (patch) | |
tree | 525825451ac60ed69476139cdc5355cf68762920 /drivers/ata/pata_hpt3x2n.c | |
parent | 1a1b172b9672e88d37adb5925b509e9236625d7e (diff) | |
download | linux-859faa875ed6760fcdfaf6f1fec1155a7e43dc21.tar.xz |
pata_hpt366: remove redundant code
There's no need to clear the fast interrupt bit in hpt366_set_mode()
since we're doing it in hpt366_init_chipset() already.
While at it, rename 'addr1' local variable to 'addr' and
exclude 'ap->port_no' from its calculation as HPT36x are
single-channel-per-function chips.
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/pata_hpt3x2n.c')
0 files changed, 0 insertions, 0 deletions