]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: e1000: Remove set but not used variable
authorZheng Yongjun <zhengyongjun3@huawei.com>
Sat, 19 Sep 2020 01:50:20 +0000 (09:50 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Sep 2020 21:13:18 +0000 (14:13 -0700)
commitf9d80a09be9a8a1c7f81f5404d05f4c3f192c7dd
treef0ba8ad804bea664814959c5c1b38e4f61331296
parent47dae52b0096ee26cc834c922007aa72aab63dc6
net: e1000: Remove set but not used variable

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/ethernet/intel/e1000/e1000_hw.c: In function e1000_phy_init_script:
drivers/net/ethernet/intel/e1000/e1000_hw.c:132:6: warning: variable ‘ret_val’ set but not used [-Wunused-but-set-variable]

`ret_val` is never used, so remove it.

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/e1000/e1000_hw.c