Skip to content

Commit

Permalink
audit: reduce scope of audit_net_id
Browse files Browse the repository at this point in the history
audit_net_id isn't used outside kernel/audit.c.  Reduce its scope.

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
  • Loading branch information
Richard Guy Briggs authored and Eric Paris committed Sep 23, 2014
1 parent 4913c59 commit c0a8d9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/audit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit c0a8d9b

Please sign in to comment.