From: Richard Guy Briggs Date: Mon, 26 May 2014 14:59:28 +0000 (-0400) Subject: audit: reduce scope of audit_net_id X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c0a8d9b0692cced5b0701ed501012e28b224d32b;p=linux-beck.git audit: reduce scope of audit_net_id audit_net_id isn't used outside kernel/audit.c. Reduce its scope. Signed-off-by: Richard Guy Briggs --- diff --git a/kernel/audit.c b/kernel/audit.c index 3ef2e0e797e8..9a951e67a89e 100644 --- a/kernel/audit.c +++ b/kernel/audit.c @@ -126,7 +126,7 @@ static atomic_t audit_lost = ATOMIC_INIT(0); /* The netlink socket. */ static struct sock *audit_sock; -int audit_net_id; +static int audit_net_id; /* Hash for inode-based rules */ struct list_head audit_inode_hash[AUDIT_INODE_BUCKETS];