diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2020-02-20 17:54:55 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-20 21:30:47 +0300 |
commit | 420579dba126c6111b5a3dea062f21a7e4e647c6 (patch) | |
tree | c3a65b431d99b635f046845a2318575233dbac8a /drivers/s390 | |
parent | 6f3846f0955308b6d1b219419da42b8de2c08845 (diff) | |
download | linux-420579dba126c6111b5a3dea062f21a7e4e647c6.tar.xz |
s390/qeth: don't warn for napi with 0 budget
Calling napi->poll() with 0 budget is a legitimate use by netpoll.
Fixes: a1c3ed4c9ca0 ("qeth: NAPI support for l2 and l3 discipline")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/net/qeth_core_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c index 9639938581f5..2264c6619def 100644 --- a/drivers/s390/net/qeth_core_main.c +++ b/drivers/s390/net/qeth_core_main.c @@ -5447,7 +5447,6 @@ static int qeth_extract_skbs(struct qeth_card *card, int budget, { int work_done = 0; - WARN_ON_ONCE(!budget); *done = false; while (budget) { |