Skip to content

Commit

Permalink
s390/qeth: don't warn for napi with 0 budget
Browse files Browse the repository at this point in the history
Calling napi->poll() with 0 budget is a legitimate use by netpoll.

Fixes: a1c3ed4 ("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>
  • Loading branch information
Julian Wiedmann authored and David S. Miller committed Feb 20, 2020
1 parent 6f3846f commit 420579d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/s390/net/qeth_core_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 420579d

Please sign in to comment.