net: lantiq: Use napi_complete_done()
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 12 Sep 2020 19:36:28 +0000 (21:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Sep 2020 16:05:26 +0000 (18:05 +0200)
commitc36c06305afebe16ea012fbea1c9e17da58724d4
tree212a31168b14ff7eb9591504a2ded69d82f5831d
parent5e0c1c65c7da250d1d88e75a0224318c471603ae
net: lantiq: Use napi_complete_done()

[ Upstream commit c582a7fea9dad4d309437d1a7e22e6d2cb380e2e ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/lantiq_xrx200.c