forked from luck/tmp_suning_uos_patched
security: remove unused forwards
Why would linux/security.h need forward declarations for nfsctl_arg and swap_info_struct? It's hard to imagine: remove them. Signed-off-by: Hugh Dickins <hugh@veritas.com> Acked-by: James Morris <jmorris@namei.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
84aaa7ab4c
commit
9b3e43a747
@ -102,9 +102,7 @@ extern unsigned long mmap_min_addr;
|
||||
#define LSM_SETID_FS 8
|
||||
|
||||
/* forward declares to avoid warnings */
|
||||
struct nfsctl_arg;
|
||||
struct sched_param;
|
||||
struct swap_info_struct;
|
||||
struct request_sock;
|
||||
|
||||
/* bprm_apply_creds unsafe reasons */
|
||||
|
Loading…
Reference in New Issue
Block a user