mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
llc: make lock static
The llc_sap_list_lock does not need to be global, only acquired in core. Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
8f09898bf0
commit
5e419e68a6
2 changed files with 1 additions and 3 deletions
|
|
@ -23,7 +23,7 @@
|
|||
#include <net/llc.h>
|
||||
|
||||
LIST_HEAD(llc_sap_list);
|
||||
DEFINE_SPINLOCK(llc_sap_list_lock);
|
||||
static DEFINE_SPINLOCK(llc_sap_list_lock);
|
||||
|
||||
/**
|
||||
* llc_sap_alloc - allocates and initializes sap.
|
||||
|
|
@ -159,7 +159,6 @@ module_init(llc_init);
|
|||
module_exit(llc_exit);
|
||||
|
||||
EXPORT_SYMBOL(llc_sap_list);
|
||||
EXPORT_SYMBOL(llc_sap_list_lock);
|
||||
EXPORT_SYMBOL(llc_sap_find);
|
||||
EXPORT_SYMBOL(llc_sap_open);
|
||||
EXPORT_SYMBOL(llc_sap_close);
|
||||
|
|
|
|||
Loading…
Reference in a new issue