From: Sergei Shtylyov Date: Mon, 7 Dec 2009 19:36:15 +0000 (+0400) Subject: pata_hpt366: remove redundant code X-Git-Tag: v2.6.34-rc1~235^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=859faa875ed6760fcdfaf6f1fec1155a7e43dc21;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed