summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-08-01 13:16:47 +0300
committerDavid S. Miller <davem@davemloft.net>2018-08-03 00:40:22 +0300
commitbd34389d4fdb4fe85a4c4a663dcf29c97ea2111a (patch)
treee47ee1ab36cdaed3c77583bbb9685e30c43e6a0c /drivers/mtd
parentfc389d1cb3855f6012093f741531a9ad0ec4ae9a (diff)
downloadlinux-bd34389d4fdb4fe85a4c4a663dcf29c97ea2111a.tar.xz
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/mtd')
0 files changed, 0 insertions, 0 deletions