aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/netback.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-08-01 18:16:47 +0800
committerDavid S. Miller <davem@davemloft.net>2018-08-02 14:40:22 -0700
commitbd34389d4fdb4fe85a4c4a663dcf29c97ea2111a (patch)
treee47ee1ab36cdaed3c77583bbb9685e30c43e6a0c /drivers/net/xen-netback/netback.c
parentMerge branch 'Add--clock-config-and-pm-support-to-bcm-iProc-mdio-mux' (diff)
downloadlinux-dev-bd34389d4fdb4fe85a4c4a663dcf29c97ea2111a.tar.xz
linux-dev-bd34389d4fdb4fe85a4c4a663dcf29c97ea2111a.zip
net: hns: remove redundant variables 'max_frm' and 'tmp_mac_key'
Variables 'max_frm' and 'tmp_mac_key' are being assigned, but are never used,hence they are redundant and can be removed. fix fllowing warning: drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c:461:6: warning: variable 'max_frm' set but not used [-Wunused-but-set-variable] drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c:1685:31: warning: variable 'tmp_mac_key' set but not used [-Wunused-but-set-variable] drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c:1855:41: warning: variable 'tmp_mac_key' set but not used [-Wunused-but-set-variable] Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netback/netback.c')
0 files changed, 0 insertions, 0 deletions