diff options
| author | 2021-04-14 02:46:15 -0500 | |
|---|---|---|
| committer | 2021-04-14 13:10:58 -0700 | |
| commit | d3a6abccbd272aea7dc2c6f984bb5a2c11278e44 (patch) | |
| tree | a6e673e81e72c513c1acb9aff8394c9eb8b58808 /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | ibmvnic: avoid calling napi_disable() twice (diff) | |
| download | linux-dev-d3a6abccbd272aea7dc2c6f984bb5a2c11278e44.tar.xz linux-dev-d3a6abccbd272aea7dc2c6f984bb5a2c11278e44.zip | |
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 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
