From: Hugh Dickins Date: Thu, 24 Jul 2008 04:28:26 +0000 (-0700) Subject: security: remove unused forwards X-Git-Tag: v2.6.27-rc1~746 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b3e43a747c74029b0acf6acf4666601f132f471;p=linux-2.6 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 Acked-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/security.h b/include/linux/security.h index 31c8851ec5..f0e9adb22a 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 */