Skip to content

Commit 3d35dbe

Browse files
julianwiedmanndavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 3a5bad6 commit 3d35dbe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/s390/net/qeth_core_main.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3405,8 +3405,7 @@ static void qeth_qdio_start_poll(struct ccw_device *ccwdev, int queue,
34053405
{
34063406
struct qeth_card *card = (struct qeth_card *)card_ptr;
34073407

3408-
if (card->dev->flags & IFF_UP)
3409-
napi_schedule_irqoff(&card->napi);
3408+
napi_schedule_irqoff(&card->napi);
34103409
}
34113410

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

0 commit comments

Comments
 (0)