]> git.baikalelectronics.ru Git - kernel.git/commit
net: lantiq: Use napi_complete_done()
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 12 Sep 2020 19:36:28 +0000 (21:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Sep 2020 21:53:15 +0000 (14:53 -0700)
commitdba2fb0315e1bc7b1962384b3a62ce8ab026fbdc
tree583290c6d1ed56d760f3413ec76da8b1f6bd3c55
parent5c8c72c7d324b4e07a79d392da3e02605b6681f8
net: lantiq: Use napi_complete_done()

Use napi_complete_done() and activate the interrupts when this function
returns true. This way the generic NAPI code can take care of activating
the interrupts.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/lantiq_xrx200.c