aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/pch_gbe/pch_gbe_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pch_gbe/pch_gbe_main.c b/drivers/net/pch_gbe/pch_gbe_main.c
index d6d9c0b2d9b..59a1ef5fed7 100644
--- a/drivers/net/pch_gbe/pch_gbe_main.c
+++ b/drivers/net/pch_gbe/pch_gbe_main.c
@@ -2128,7 +2128,7 @@ static int pch_gbe_napi_poll(struct napi_struct *napi, int budget)
2128 /* If no Tx and not enough Rx work done, 2128 /* If no Tx and not enough Rx work done,
2129 * exit the polling mode 2129 * exit the polling mode
2130 */ 2130 */
2131 if ((work_done < budget) || !netif_running(netdev)) 2131 if (work_done < budget)
2132 poll_end_flag = true; 2132 poll_end_flag = true;
2133 } 2133 }
2134 2134