kernel/audit.c: In function `audit_init':
kernel/audit.c:693: warning: unused variable `i'
This fix applies to lspp.b18 commit
74457481a11b6283cecdfbaa6ec644e2edc1c8ef
"updated filesystem auditing patches..."
Signed-off-by: Amy Griffis <amy.griffis(a)hp.com>
---
kernel/audit.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
237e71cf9daa9b8f7651550a3da6bf7fb6eb8c0e
diff --git a/kernel/audit.c b/kernel/audit.c
index c12e2ae..0fbf1c1 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -690,7 +690,9 @@ #endif
/* Initialize audit support at boot time. */
static int __init audit_init(void)
{
+#ifdef CONFIG_AUDITSYSCALL
int i;
+#endif
printk(KERN_INFO "audit: initializing netlink socket (%s)\n",
audit_default ? "enabled" : "disabled");
--
1.3.0