Selaa lähdekoodia

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>
Hugh Dickins 17 vuotta sitten
vanhempi
commit
9b3e43a747
1 muutettua tiedostoa jossa 0 lisäystä ja 2 poistoa
  1. 0 2
      include/linux/security.h

+ 0 - 2
include/linux/security.h

@@ -102,9 +102,7 @@ extern unsigned long mmap_min_addr;
 #define LSM_SETID_FS	8
 #define LSM_SETID_FS	8
 
 
 /* forward declares to avoid warnings */
 /* forward declares to avoid warnings */
-struct nfsctl_arg;
 struct sched_param;
 struct sched_param;
-struct swap_info_struct;
 struct request_sock;
 struct request_sock;
 
 
 /* bprm_apply_creds unsafe reasons */
 /* bprm_apply_creds unsafe reasons */