diff options
author | Kejian Yan <yankejian@huawei.com> | 2016-07-01 17:34:11 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-01 16:56:52 -0400 |
commit | 2e14b218f5f702520a99193fd7dea9888d734804 (patch) | |
tree | 3bfd3709a6c5f8e4bf3f660913ee0aff8c2094ff /drivers/atm/uPD98402.c | |
parent | 45fc764e3eecba6962b28a49a7c00ee4f5efff43 (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 'drivers/atm/uPD98402.c')
0 files changed, 0 insertions, 0 deletions