Commit 3d35dbe6 authored by Julian Wiedmann's avatar Julian Wiedmann Committed by David S. Miller

s390/qeth: don't check for IFF_UP when scheduling napi

Trust the napi_disable() in qeth_stop() to handle this.
Signed-off-by: default avatarJulian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3a5bad64
...@@ -3405,8 +3405,7 @@ static void qeth_qdio_start_poll(struct ccw_device *ccwdev, int queue, ...@@ -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; 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) int qeth_configure_cq(struct qeth_card *card, enum qeth_cq cq)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment