nfp: simplify nfp_net_poll()
authorJakub Kicinski <jakub.kicinski@netronome.com>
Mon, 31 Oct 2016 20:43:09 +0000 (20:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Nov 2016 15:04:58 +0000 (11:04 -0400)
commit7ff5c83a1deb09419eaf33608dec120a00fcf923
treeeb5db9627ecff3645765e1200b3a571d3e43724a
parent6d052e9abd627f5c1e2e88f2a379bc5927eadc07
nfp: simplify nfp_net_poll()

There are few variables in nfp_net_poll() which are used only
once or unused but set.  Remove them.

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