Skip to content

Commit

Permalink
ks8842: Remove unnecessary bank select.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Richard Röjfors authored and David S. Miller committed Jul 9, 2010
1 parent cc88e45 commit 3038bdb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/ks8842.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 3038bdb

Please sign in to comment.