aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/can/c_can/c_can.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/can/c_can/c_can.c b/drivers/net/can/c_can/c_can.c
index ef5f3b8099f4..30a85aa81d45 100644
--- a/drivers/net/can/c_can/c_can.c
+++ b/drivers/net/can/c_can/c_can.c
@@ -915,9 +915,6 @@ static int c_can_do_rx_poll(struct net_device *dev, int quota)
915 continue; 915 continue;
916 } 916 }
917 917
918 if (msg_ctrl_save & IF_MCONT_EOB)
919 return num_rx_pkts;
920
921 if (!(msg_ctrl_save & IF_MCONT_NEWDAT)) 918 if (!(msg_ctrl_save & IF_MCONT_NEWDAT))
922 continue; 919 continue;
923 920