net: core functions cleanup
authorstephen hemminger <stephen@networkplumber.org>
Sun, 29 Dec 2013 22:01:29 +0000 (14:01 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Jan 2014 04:46:09 +0000 (23:46 -0500)
commit1d143d9f0c833fcf38cc737eb0a8698fa2dd144c
treebb777ea9004c6828671f7ef284006bfeffcdc6a8
parent2173f8d953e76026bf6ede8ec81ad35ec158dae9
net: core functions cleanup

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: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c