aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/core/net_namespace.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-11-24 18:16:41 +0800
committerDavid S. Miller <davem@davemloft.net>2018-11-27 15:23:37 -0800
commit4e3c7c00bba0636b97eb23d582c20b0f5d95ce20 (patch)
tree12a3901cb955aee92638cc589c503bf92e51b84f /net/core/net_namespace.c
parentMerge branch 'bridge-bools' (diff)
downloadwireguard-linux-4e3c7c00bba0636b97eb23d582c20b0f5d95ce20.tar.xz
wireguard-linux-4e3c7c00bba0636b97eb23d582c20b0f5d95ce20.zip
net: aquantia: return 'err' if set MPI_DEINIT state fails
Fixes gcc '-Wunused-but-set-variable' warning: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:260:7: warning: variable 'err' set but not used [-Wunused-but-set-variable] 'err' should be returned while set MPI_DEINIT state fails in hw_atl_utils_soft_reset. Fixes: cce96d1883da ("net: aquantia: Regression on reset with 1.x firmware") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/net_namespace.c')
0 files changed, 0 insertions, 0 deletions