Commit c86ef6ee authored by Adrian Bunk's avatar Adrian Bunk Committed by Thomas Graf

[NETROM]: Make needlessly global code static.

Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 821179bb
......@@ -43,7 +43,7 @@
#include <net/arp.h>
#include <linux/init.h>
int nr_ndevs = 4;
static int nr_ndevs = 4;
int sysctl_netrom_default_path_quality = NR_DEFAULT_QUAL;
int sysctl_netrom_obsolescence_count_initialiser = NR_DEFAULT_OBS;
......
......@@ -45,7 +45,7 @@ static spinlock_t nr_node_list_lock = SPIN_LOCK_UNLOCKED;
static HLIST_HEAD(nr_neigh_list);
static spinlock_t nr_neigh_list_lock = SPIN_LOCK_UNLOCKED;
struct nr_node *nr_node_get(ax25_address *callsign)
static struct nr_node *nr_node_get(ax25_address *callsign)
{
struct nr_node *found = NULL;
struct nr_node *nr_node;
......@@ -62,7 +62,8 @@ struct nr_node *nr_node_get(ax25_address *callsign)
return found;
}
struct nr_neigh *nr_neigh_get_dev(ax25_address *callsign, struct net_device *dev)
static struct nr_neigh *nr_neigh_get_dev(ax25_address *callsign,
struct net_device *dev)
{
struct nr_neigh *found = NULL;
struct nr_neigh *nr_neigh;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment