diff options
author | Julian Wiedmann <jwi@linux.vnet.ibm.com> | 2018-03-09 20:12:59 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-09 21:10:05 +0300 |
commit | 1b45c80be08d11e3f48c514a63d8c1214829fc19 (patch) | |
tree | ba07011ba318816595edaf5abb4baf499a7807c0 /drivers/s390/net/qeth_l3_main.c | |
parent | 04f673983bdb9c117b4710b5bcc712fe63486c34 (diff) | |
download | linux-1b45c80be08d11e3f48c514a63d8c1214829fc19.tar.xz |
s390/qeth: reset NAPI context during queue init
init_qdio_queues() resets the Input Queue's overall QDIO state, and
positions the buffer cursor back to 0. So this is the obvious place to
also reset the queue's NAPI context (in contrast to doing it rather
randomly in the middle of the big set_online() path).
No functional change.
Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_l3_main.c')
-rw-r--r-- | drivers/s390/net/qeth_l3_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_l3_main.c b/drivers/s390/net/qeth_l3_main.c index c302274bab22..17daf2047f7b 100644 --- a/drivers/s390/net/qeth_l3_main.c +++ b/drivers/s390/net/qeth_l3_main.c @@ -2898,7 +2898,6 @@ static int __qeth_l3_set_online(struct ccwgroup_device *gdev, int recovery_mode) card->info.hwtrap = 0; card->state = CARD_STATE_HARDSETUP; - memset(&card->rx, 0, sizeof(struct qeth_rx)); qeth_print_status_message(card); /* softsetup */ |