Commit c0a8d9b0 authored by Richard Guy Briggs's avatar Richard Guy Briggs Committed by Eric Paris

audit: reduce scope of audit_net_id

audit_net_id isn't used outside kernel/audit.c.  Reduce its scope.
Signed-off-by: default avatarRichard Guy Briggs <rgb@redhat.com>
parent 4913c598
...@@ -126,7 +126,7 @@ static atomic_t audit_lost = ATOMIC_INIT(0); ...@@ -126,7 +126,7 @@ static atomic_t audit_lost = ATOMIC_INIT(0);
/* The netlink socket. */ /* The netlink socket. */
static struct sock *audit_sock; static struct sock *audit_sock;
int audit_net_id; static int audit_net_id;
/* Hash for inode-based rules */ /* Hash for inode-based rules */
struct list_head audit_inode_hash[AUDIT_INODE_BUCKETS]; struct list_head audit_inode_hash[AUDIT_INODE_BUCKETS];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment