]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
nfp: move queue variable init
authorJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 28 Nov 2018 06:24:50 +0000 (22:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Nov 2018 21:30:44 +0000 (13:30 -0800)
commit8b5ddf1e51818d2446f0ca997beb82a850718d2e
treeffda0f52418597206141aaaf4a44350ab98a89e9
parentde31049a48bb75bc458e9f8a0fae037fcbf1241f
nfp: move queue variable init

nd_q is only used at the very end of nfp_net_tx(), there is no need
to initialize it early.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_common.c