mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 22:02:02 +00:00
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 <rgb@redhat.com>
This commit is contained in:
parent
4913c59890
commit
c0a8d9b069
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue