]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns: use eth_get_headlen interface instead of hns_nic_get_headlen
authorHuazhong Tan <tanhuazhong@huawei.com>
Thu, 23 Aug 2018 03:10:13 +0000 (11:10 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Aug 2018 04:47:36 +0000 (21:47 -0700)
commite83c22355292f6559cc14f76c466aed1eee1b70b
tree276d8ca08182631f8b91e4fc9e803a3cc95fce6e
parent446ec3aa6e0cadc9b9aad607f98b0460e387e77a
net: hns: use eth_get_headlen interface instead of hns_nic_get_headlen

Update hns to drop the hns_nic_get_headlen function in favour of
eth_get_headlen, and hence also removes now redundant hns_nic_get_headlen.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_enet.c