git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a1b172
)
pata_hpt366: remove redundant code
author
Sergei Shtylyov
<sshtylyov@ru.mvista.com>
Mon, 7 Dec 2009 19:36:15 +0000
(23:36 +0400)
committer
Jeff Garzik
<jgarzik@redhat.com>
Mon, 1 Mar 2010 19:58:43 +0000
(14:58 -0500)
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>
drivers/ata/pata_hpt366.c
patch
|
blob
|
history
diff --cc
drivers/ata/pata_hpt366.c
Simple merge