sky2: remove unnecessary assignment
authorMike McCormack <mikem@ring3k.org>
Tue, 21 Jul 2009 14:51:20 +0000 (14:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2009 02:06:46 +0000 (19:06 -0700)
Signed-off-by: Mike McCormack <mikem@ring3k.org>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sky2.c

index 3550c5d..661abd0 100644 (file)
@@ -4117,7 +4117,7 @@ static int sky2_debug_show(struct seq_file *seq, void *v)
 
        seq_printf(seq, "\nRx ring hw get=%d put=%d last=%d\n",
                   sky2_read16(hw, Y2_QADDR(rxqaddr[port], PREF_UNIT_GET_IDX)),
-                  last = sky2_read16(hw, Y2_QADDR(rxqaddr[port], PREF_UNIT_PUT_IDX)),
+                  sky2_read16(hw, Y2_QADDR(rxqaddr[port], PREF_UNIT_PUT_IDX)),
                   sky2_read16(hw, Y2_QADDR(rxqaddr[port], PREF_UNIT_LAST_IDX)));
 
        sky2_read32(hw, B0_Y2_SP_LISR);