diff options
| author | YueHaibing <[email protected]> | 2018-08-01 18:16:47 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-08-02 14:40:22 -0700 |
| commit | bd34389d4fdb4fe85a4c4a663dcf29c97ea2111a (patch) | |
| tree | e47ee1ab36cdaed3c77583bbb9685e30c43e6a0c /tools/perf/scripts/python/sched-migration.py | |
| parent | fc389d1cb3855f6012093f741531a9ad0ec4ae9a (diff) | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions