summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorKejian Yan <yankejian@huawei.com>2016-07-01 17:34:11 +0800
committerDavid S. Miller <davem@davemloft.net>2016-07-01 16:56:52 -0400
commit2e14b218f5f702520a99193fd7dea9888d734804 (patch)
tree3bfd3709a6c5f8e4bf3f660913ee0aff8c2094ff /drivers/gpio
parent45fc764e3eecba6962b28a49a7c00ee4f5efff43 (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/gpio')
0 files changed, 0 insertions, 0 deletions