sky2: remove unnecessary assignment
Subsystems (2)
PATCH 1/1 sky2: remove unnecessary assignment
Signed-off-by Mike McCormack <[email protected]>
--- drivers/net/sky2.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/sky2.c +1 -1
@@ -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 );
Signature · 1 line
1.5.6.5
Quoted 10 lines · On Wed, 22 Jul 2009 09:51:20 +0900 Mike McCormack <[email protected]> wrote:
Signed-off-by Mike McCormack <[email protected]>--- drivers/net/sky2.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/net/sky2.c +0
-0
drivers/net/sky2.c static int sky2_debug_show(struct seq_file *seq, void *v) · line 4123
Quoted 8 lines
drivers/net/sky2.c +1
-1@@ -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 );
Quoted 10 lines · On Wed, 22 Jul 2009 09:51:20 +0900 Mike McCormack <[email protected]> wrote:
Signed-off-by Mike McCormack <[email protected]>--- drivers/net/sky2.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/net/sky2.c +0
-0
drivers/net/sky2.c static int sky2_debug_show(struct seq_file *seq, void *v) · line 4123
Quoted 8 lines
drivers/net/sky2.c +1
-1@@ -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 );
From: Stephen Hemminger <[email protected]>
Date: Wed, 22 Jul 2009 09:59:33 -0700
Quoted 4 lines
Quoted 1 line · On Wed, 22 Jul 2009 09:51:20 +0900 Mike McCormack <[email protected]> wrote:
Signed-off-by Mike McCormack <[email protected]>
...
Quoted 1 line
Applied to net-next-2.6