diff options
Diffstat (limited to 'drivers/net/tokenring/smctr.c')
-rw-r--r-- | drivers/net/tokenring/smctr.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/tokenring/smctr.c b/drivers/net/tokenring/smctr.c index 58d7e5d452fa..f83bb5cb0d3d 100644 --- a/drivers/net/tokenring/smctr.c +++ b/drivers/net/tokenring/smctr.c | |||
@@ -3692,7 +3692,6 @@ static int smctr_process_rx_packet(MAC_HEADER *rmf, __u16 size, | |||
3692 | __u16 rcode, correlator; | 3692 | __u16 rcode, correlator; |
3693 | int err = 0; | 3693 | int err = 0; |
3694 | __u8 xframe = 1; | 3694 | __u8 xframe = 1; |
3695 | __u16 tx_fstatus; | ||
3696 | 3695 | ||
3697 | rmf->vl = SWAP_BYTES(rmf->vl); | 3696 | rmf->vl = SWAP_BYTES(rmf->vl); |
3698 | if(rx_status & FCB_RX_STATUS_DA_MATCHED) | 3697 | if(rx_status & FCB_RX_STATUS_DA_MATCHED) |
@@ -3783,7 +3782,9 @@ static int smctr_process_rx_packet(MAC_HEADER *rmf, __u16 size, | |||
3783 | } | 3782 | } |
3784 | break; | 3783 | break; |
3785 | 3784 | ||
3786 | case TX_FORWARD: | 3785 | case TX_FORWARD: { |
3786 | __u16 uninitialized_var(tx_fstatus); | ||
3787 | |||
3787 | if((rcode = smctr_rcv_tx_forward(dev, rmf)) | 3788 | if((rcode = smctr_rcv_tx_forward(dev, rmf)) |
3788 | != POSITIVE_ACK) | 3789 | != POSITIVE_ACK) |
3789 | { | 3790 | { |
@@ -3811,6 +3812,7 @@ static int smctr_process_rx_packet(MAC_HEADER *rmf, __u16 size, | |||
3811 | } | 3812 | } |
3812 | } | 3813 | } |
3813 | break; | 3814 | break; |
3815 | } | ||
3814 | 3816 | ||
3815 | /* Received MAC Frames Processed by CRS/REM/RPS. */ | 3817 | /* Received MAC Frames Processed by CRS/REM/RPS. */ |
3816 | case RSP: | 3818 | case RSP: |