ks8842: Remove unnecessary bank select.
authorRichard Röjfors <richard.rojfors@pelagicore.com>
Fri, 9 Jul 2010 06:36:59 +0000 (23:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Jul 2010 06:40:20 +0000 (23:40 -0700)
This patch removes an unnecessary bank select before resetting the
controller.

Signed-off-by: Richard Röjfors <richard.rojfors@pelagicore.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ks8842.c

index 5191af2c1fa0fa2d1d77756c7faf70507bc905dc..0be92613acf0550582ed058c3d8a19ad17debc2e 100644 (file)
@@ -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);
 }