diff options
| author | 2016-07-01 17:34:11 +0800 | |
|---|---|---|
| committer | 2016-07-01 16:56:52 -0400 | |
| commit | 2e14b218f5f702520a99193fd7dea9888d734804 (patch) | |
| tree | 3bfd3709a6c5f8e4bf3f660913ee0aff8c2094ff /tools/perf/scripts/python/bin | |
| parent | net: hns: normalize two different loop (diff) | |
net: hns: remove redundant hns_mac_dev_to_enet_if()
The sequence of hns_mac_dev_to_enet_if() is the same as
hns_get_enet_interface(), and hns_get_enet_interface() is called
by initialization to get the mac mode. And the mode is not changed
anywhere. Thus add hns_mac_dev_to_enet_if() function to get the mac
mode is obviously redundant.
Reported-by: Jinchuan Tian <tianjinchuan1@huawei.com>
Signed-off-by: Kejian Yan <yankejian@huawei.com>
Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
