Commit 1ec888ed authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller

[NETROM]: Make lists and locks static since they are only used in one file.

parent 28d0e94e
......@@ -57,8 +57,8 @@ int sysctl_netrom_link_fails_count = NR_DEFAULT_FAILS;
static unsigned short circuit = 0x101;
HLIST_HEAD(nr_list);
static spinlock_t nr_list_lock;
static HLIST_HEAD(nr_list);
static spinlock_t nr_list_lock = SPIN_LOCK_UNLOCKED;
static struct proto_ops nr_proto_ops;
......
......@@ -39,10 +39,10 @@
static unsigned int nr_neigh_no = 1;
HLIST_HEAD(nr_node_list);
spinlock_t nr_node_list_lock = SPIN_LOCK_UNLOCKED;
HLIST_HEAD(nr_neigh_list);
spinlock_t nr_neigh_list_lock = SPIN_LOCK_UNLOCKED;
static HLIST_HEAD(nr_node_list);
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)
{
......
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