diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2020-02-27 20:08:15 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-27 22:15:13 +0300 |
commit | 3d35dbe6224e60a249dd492b0f757828db559c52 (patch) | |
tree | 3c3a101d9a7fe221c0af1cfccd80b2f068c10d0b /drivers/s390 | |
parent | 3a5bad64db30a07459eb2f15ce6a4b995474350d (diff) | |
download | linux-3d35dbe6224e60a249dd492b0f757828db559c52.tar.xz |
s390/qeth: don't check for IFF_UP when scheduling napi
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>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/net/qeth_core_main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c index 626da9698177..cbd2b4c46ea4 100644 --- a/drivers/s390/net/qeth_core_main.c +++ b/drivers/s390/net/qeth_core_main.c @@ -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) |