1
0
Fork 0
alistair23-linux/drivers/net/ethernet/hisilicon
Kejian Yan 2e14b218f5 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>
2016-07-01 16:56:52 -04:00
..
hns net: hns: remove redundant hns_mac_dev_to_enet_if() 2016-07-01 16:56:52 -04:00
Kconfig net: hns: update the dependency 2016-06-14 23:28:42 -07:00
Makefile net: add Hisilicon Network Subsystem hnae framework support 2015-09-20 21:42:57 -07:00
hip04_eth.c hip04_eth: fix missing error handle for build_skb failed 2016-01-13 15:48:14 -05:00
hix5hd2_gmac.c net: ethernet: hix5hd2: use phy_ethtool_{get|set}_link_ksettings 2016-06-28 09:12:35 -04:00
hns_mdio.c net: hisilicon: add support of acpi for hns-mdio 2016-06-04 21:32:40 -04:00