net/sfc: fix unused variable in RSS-agnostic build
authorIvan Malov <ivan.malov@oktetlabs.ru>
Wed, 30 Aug 2017 18:17:31 +0000 (19:17 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:47 +0000 (02:49 +0200)
commit879b01bdfa90c739337d59b9b0f89f1ed8d5f160
tree70387547be9ae2e17d6a6870efe50a3acb88126a
parent4853f2be3cb1483f4ccce445748794897fc37b4a
net/sfc: fix unused variable in RSS-agnostic build

Unused variables will be found in several places if RSS
support is disabled at build time; the patch is to fix it

Fixes: 4ec1fc3ba881 ("net/sfc: add basic stubs for RSS support on driver attach")
Fixes: d9ff551fc974 ("net/sfc: support RSS hash offload")
Cc: stable@dpdk.org
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/sfc.c
drivers/net/sfc/sfc_rx.c