aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/marvell/mwifiex/sdio.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-08-07 12:41:53 +0200
committerDavid S. Miller <davem@davemloft.net>2017-08-07 11:23:48 -0700
commit2a32ca138e24836d01918797018b0fd0302c6b3f (patch)
treef0eb6d8166198faeaabe60ba6cd0f353e61c5c5d /drivers/net/wireless/marvell/mwifiex/sdio.c
parentMerge tag 'mlx5-shared-2017-08-07' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux (diff)
downloadlinux-dev-2a32ca138e24836d01918797018b0fd0302c6b3f.tar.xz
linux-dev-2a32ca138e24836d01918797018b0fd0302c6b3f.zip
hns3: fix unused function warning
Without CONFIG_PCI_IOV, we get a harmless warning about an unused function: drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:2273:13: error: 'hclge_disable_sriov' defined but not used [-Werror=unused-function] The #ifdefs in this driver are obviously wrong, so this just removes them and uses an IS_ENABLED() check that does the same thing correctly in a more readable way. Fixes: 46a3df9f9718 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/marvell/mwifiex/sdio.c')
0 files changed, 0 insertions, 0 deletions