OSDN Git Service

nfp: remove nfp_net_irqs_wanted()
authorJakub Kicinski <jakub.kicinski@netronome.com>
Mon, 31 Oct 2016 20:43:20 +0000 (20:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Nov 2016 15:05:00 +0000 (11:05 -0400)
commit4b27a1eb7b83da956c3939869ed22f5ca0e1f1e1
treea2ca980d9cce76f9ddf7244de865513c30675333
parenta4b562bb8ebd418dcfeba2840a7ece25a74d8385
nfp: remove nfp_net_irqs_wanted()

nfp_net_irqs_wanted() doesn't really encapsulate much logic,
remove it and inline the calculations.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_common.c