diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-08-01 12:16:47 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-02 23:40:22 +0200 |
commit | bd34389d4fdb4fe85a4c4a663dcf29c97ea2111a (patch) | |
tree | e47ee1ab36cdaed3c77583bbb9685e30c43e6a0c /drivers/net/xen-netback | |
parent | Merge branch 'Add--clock-config-and-pm-support-to-bcm-iProc-mdio-mux' (diff) | |
download | linux-bd34389d4fdb4fe85a4c4a663dcf29c97ea2111a.tar.xz linux-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')
0 files changed, 0 insertions, 0 deletions