diff options
author | Eric Dumazet <edumazet@google.com> | 2017-02-10 16:46:46 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-14 06:23:39 +0300 |
commit | 37fabbf4d489cc2e1cbf7cde816d9453a65ddfb7 (patch) | |
tree | 767cf16a3f51ff5f4c2181ecd892ed5fbc53a3bc /net | |
parent | 417d18d38bc63201f6442810476048d2984054c0 (diff) | |
download | linux-37fabbf4d489cc2e1cbf7cde816d9453a65ddfb7.tar.xz |
net: busy-poll: remove LL_FLUSH_FAILED and LL_FLUSH_BUSY
Commit 79e7fff47b7b ("net: remove support for per driver
ndo_busy_poll()") made them obsolete.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/core/dev.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 363c44b9be63..2f1bbe1bf67c 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -5008,9 +5008,6 @@ count: LINUX_MIB_BUSYPOLLRXPACKETS, rc); local_bh_enable(); - if (rc == LL_FLUSH_FAILED) - break; /* permanent failure */ - if (nonblock || !skb_queue_empty(&sk->sk_receive_queue) || busy_loop_timeout(end_time)) break; |