aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@mips.com>2018-06-22 20:17:47 -0700
committerDavid S. Miller <davem@davemloft.net>2018-06-23 20:52:08 +0900
commitb02c38a23a5a308466d6cf87895ef16b6fa3306c (patch)
tree57963496689ed7caaba482f80ba9a8b837bd6277 /drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c
parentnet: pch_gbe: Remove init_hw HAL abstraction (diff)
downloadlinux-dev-b02c38a23a5a308466d6cf87895ef16b6fa3306c.tar.xz
linux-dev-b02c38a23a5a308466d6cf87895ef16b6fa3306c.zip
net: pch_gbe: Remove get_bus_info HAL abstraction
For some reason the pch_gbe driver contains a struct pch_gbe_functions with pointers used by a HAL abstraction layer, even though there is only one implementation of each function. This patch removes the get_bus_info abstraction. Its single implementation (pch_gbe_plat_get_bus_info) only sets values within a struct pch_gbe_bus_info which is never used, so we simply remove the call to it in pch_gbe_probe & remove struct pch_gbe_bus_info entirely. Now that struct pch_gbe_functions is empty we remove it entirely too. Signed-off-by: Paul Burton <paul.burton@mips.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c')
0 files changed, 0 insertions, 0 deletions