]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: remove duplicate napi_schedule call in open function
authorLijun Pan <lijunp213@gmail.com>
Wed, 14 Apr 2021 07:46:16 +0000 (02:46 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Apr 2021 20:10:58 +0000 (13:10 -0700)
commit304869d279f81d56cb0b98c6f1d3ab4d9f566e0d
treef73e7e1f057656825a663bcb144d309bec691558
parenta857385e63ef7ae0d17ddeb70637cb5723158df4
ibmvnic: remove duplicate napi_schedule call in open function

Remove the unnecessary napi_schedule() call in __ibmvnic_open() since
interrupt_rx() calls napi_schedule_prep/__napi_schedule during every
receive interrupt.

Fixes: 64813b44e233 ("ibmvnic: Updated reset handling")
Signed-off-by: Lijun Pan <lijunp213@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c