mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[PATCH] security/: possible cleanups
make needlessly global code static Signed-off-by: Adrian Bunk <[email protected]> Cc: David Howells <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
8d9067bda9
commit
1ae8f40767
3 changed files with 2 additions and 3 deletions
|
|
@ -25,7 +25,6 @@
|
|||
#define kdebug(FMT, a...) do {} while(0)
|
||||
#endif
|
||||
|
||||
extern struct key_type key_type_dead;
|
||||
extern struct key_type key_type_user;
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ static DECLARE_WORK(key_cleanup_task, key_cleanup, NULL);
|
|||
DECLARE_RWSEM(key_construction_sem);
|
||||
|
||||
/* any key who's type gets unegistered will be re-typed to this */
|
||||
struct key_type key_type_dead = {
|
||||
static struct key_type key_type_dead = {
|
||||
.name = "dead",
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ struct key_type key_type_keyring = {
|
|||
* semaphore to serialise link/link calls to prevent two link calls in parallel
|
||||
* introducing a cycle
|
||||
*/
|
||||
DECLARE_RWSEM(keyring_serialise_link_sem);
|
||||
static DECLARE_RWSEM(keyring_serialise_link_sem);
|
||||
|
||||
/*****************************************************************************/
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue