• stephen hemminger's avatar
    net: core functions cleanup · 1d143d9f
    stephen hemminger authored
    The following functions are not used outside of net/core/dev.c
    and should be declared static.
    
      call_netdevice_notifiers_info
      __dev_remove_offload
      netdev_has_any_upper_dev
      __netdev_adjacent_dev_remove
      __netdev_adjacent_dev_link_lists
      __netdev_adjacent_dev_unlink_lists
      __netdev_adjacent_dev_unlink
      __netdev_adjacent_dev_link_neighbour
      __netdev_adjacent_dev_unlink_neighbour
    
    And the following are never used and should be deleted
      netdev_lower_dev_get_private_rcu
      __netdev_find_adj_rcu
    Signed-off-by: default avatarStephen Hemminger <stephen@networkplumber.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    1d143d9f
dev.c 172 KB