summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugh Dickins <hugh@veritas.com>2008-07-23 21:28:26 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-24 10:47:22 -0700
commit9b3e43a747c74029b0acf6acf4666601f132f471 (patch)
tree9c27118c353f9742d9715b30ec30060dd095b492
parent84aaa7ab4c40b66d6dd9aa393901551ad50ec640 (diff)
downloadop-kernel-dev-9b3e43a747c74029b0acf6acf4666601f132f471.zip
op-kernel-dev-9b3e43a747c74029b0acf6acf4666601f132f471.tar.gz
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>
-rw-r--r--include/linux/security.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/security.h b/include/linux/security.h
index 31c8851..f0e9adb 100644
--- a/include/linux/security.h
+++ b/include/linux/security.h
@@ -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 */
OpenPOWER on IntegriCloud