aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tokenring/tms380tr.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/tokenring/tms380tr.c')
-rw-r--r--drivers/net/tokenring/tms380tr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tokenring/tms380tr.c b/drivers/net/tokenring/tms380tr.c
index 12bd294045a7..d5fa36d36515 100644
--- a/drivers/net/tokenring/tms380tr.c
+++ b/drivers/net/tokenring/tms380tr.c
@@ -2124,7 +2124,7 @@ static void tms380tr_rcv_status_irq(struct net_device *dev)
2124 /* Get the frame size (Byte swap for Intel). 2124 /* Get the frame size (Byte swap for Intel).
2125 * Do this early (see workaround comment below) 2125 * Do this early (see workaround comment below)
2126 */ 2126 */
2127 Length = be16_to_cpu((unsigned short)rpl->FrameSize); 2127 Length = be16_to_cpu(rpl->FrameSize);
2128 2128
2129 /* Check if the Frame_Start, Frame_End and 2129 /* Check if the Frame_Start, Frame_End and
2130 * Frame_Complete bits are set. 2130 * Frame_Complete bits are set.
@@ -2140,7 +2140,7 @@ static void tms380tr_rcv_status_irq(struct net_device *dev)
2140 * Length2 is there because there have also been 2140 * Length2 is there because there have also been
2141 * cases where the FrameSize was partially written 2141 * cases where the FrameSize was partially written
2142 */ 2142 */
2143 Length2 = be16_to_cpu((unsigned short)rpl->FrameSize); 2143 Length2 = be16_to_cpu(rpl->FrameSize);
2144 2144
2145 if(Length == 0 || Length != Length2) 2145 if(Length == 0 || Length != Length2)
2146 { 2146 {