]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: hns3: Remove redundant hclge_get_port_type()
authorPeng Li <lipeng321@huawei.com>
Fri, 21 Sep 2018 15:41:48 +0000 (16:41 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Sep 2018 02:29:32 +0000 (19:29 -0700)
commitebfefb8aa792c74efaefe5e01f5f0bf9aae39e2d
treef2882278e9ecc21dcf620180afd0d39dda20bdae
parent5f373b1585234bb15c7377076d01af2aed62d0a2
net: hns3: Remove redundant hclge_get_port_type()

This patch removes hclge_get_port_type which is redundant.

Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hnae3.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c