From: Hugh Dickins Date: Thu, 24 Jul 2008 04:28:26 +0000 (-0700) Subject: security: remove unused forwards X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9b3e43a747c74029b0acf6acf4666601f132f471;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 31c8851ec5d0..f0e9adb22ac2 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 */