diff options
author | Lijun Pan <lijunp213@gmail.com> | 2021-04-14 02:46:15 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-14 13:10:58 -0700 |
commit | d3a6abccbd272aea7dc2c6f984bb5a2c11278e44 (patch) | |
tree | a6e673e81e72c513c1acb9aff8394c9eb8b58808 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 0775ebc4cf8554bdcd2c212669a0868ab68df5c0 (diff) |
ibmvnic: remove duplicate napi_schedule call in do_reset function
During adapter reset, do_reset/do_hard_reset calls ibmvnic_open(),
which will calls napi_schedule if previous state is VNIC_CLOSED
(i.e, the reset case, and "ifconfig down" case). So there is no need
for do_reset to call napi_schedule again at the end of the function
though napi_schedule will neglect the request if napi is already
scheduled.
Fixes: ed651a10875f ("ibmvnic: Updated reset handling")
Signed-off-by: Lijun Pan <lijunp213@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions