Skip to content

Commit

Permalink
s390/qeth: don't check for IFF_UP when scheduling napi
Browse files Browse the repository at this point in the history
Trust the napi_disable() in qeth_stop() to handle this.

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 27, 2020
1 parent 3a5bad6 commit 3d35dbe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/s390/net/qeth_core_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3405,8 +3405,7 @@ static void qeth_qdio_start_poll(struct ccw_device *ccwdev, int queue,
{
struct qeth_card *card = (struct qeth_card *)card_ptr;

if (card->dev->flags & IFF_UP)
napi_schedule_irqoff(&card->napi);
napi_schedule_irqoff(&card->napi);
}

int qeth_configure_cq(struct qeth_card *card, enum qeth_cq cq)
Expand Down

0 comments on commit 3d35dbe

Please sign in to comment.