From: Richard Röjfors Date: Fri, 9 Jul 2010 06:36:59 +0000 (-0700) Subject: ks8842: Remove unnecessary bank select. X-Git-Tag: MMI-PSA29.97-13-9~23092^2~302 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3038bdb122c8aa2b219b548a345aafb1204c4f0b;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ks8842: Remove unnecessary bank select. This patch removes an unnecessary bank select before resetting the controller. Signed-off-by: Richard Röjfors Signed-off-by: David S. Miller --- diff --git a/drivers/net/ks8842.c b/drivers/net/ks8842.c index 5191af2c1fa0..0be92613acf0 100644 --- a/drivers/net/ks8842.c +++ b/drivers/net/ks8842.c @@ -199,7 +199,6 @@ static void ks8842_reset(struct ks8842_adapter *adapter) msleep(10); iowrite16(0, adapter->hw_addr + REG_GRR); */ - iowrite16(32, adapter->hw_addr + REG_SELECT_BANK); iowrite32(0x1, adapter->hw_addr + REG_TIMB_RST); msleep(20); }