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)
commitc582a7fea9dad4d309437d1a7e22e6d2cb380e2e
tree583290c6d1ed56d760f3413ec76da8b1f6bd3c55
parent74c7b80e222b58d3cea731d31e2a31a77fea8345
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