diff --git a/kernel/auditfilter.c b/kernel/auditfilter.c
index 9c8c23227c7f28970f64de6e21cab6e8bfa08415..87865f8b4ce3ecdebad12707c6867a302bedee69 100644
--- a/kernel/auditfilter.c
+++ b/kernel/auditfilter.c
@@ -1601,8 +1601,8 @@ static int audit_filter_user_rules(struct netlink_skb_parms *cb,
 
 int audit_filter_user(struct netlink_skb_parms *cb, int type)
 {
+	enum audit_state state = AUDIT_DISABLED;
 	struct audit_entry *e;
-	enum audit_state   state;
 	int ret = 1;
 
 	rcu_read_lock();