diff options
| author | Richard Guy Briggs <rgb@redhat.com> | 2014-05-26 10:59:28 -0400 |
|---|---|---|
| committer | Eric Paris <eparis@redhat.com> | 2014-09-23 16:37:50 -0400 |
| commit | c0a8d9b0692cced5b0701ed501012e28b224d32b (patch) | |
| tree | d21f30e9cfed2b45d9ebcaed2b0b7bae8b32a41a /kernel | |
| parent | 4913c59890b0774990cceb7b0539fee71301dabe (diff) | |
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>
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/audit.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); | |||
| 126 | 126 | ||
| 127 | /* The netlink socket. */ | 127 | /* The netlink socket. */ |
| 128 | static struct sock *audit_sock; | 128 | static struct sock *audit_sock; |
| 129 | int audit_net_id; | 129 | static int audit_net_id; |
| 130 | 130 | ||
| 131 | /* Hash for inode-based rules */ | 131 | /* Hash for inode-based rules */ |
| 132 | struct list_head audit_inode_hash[AUDIT_INODE_BUCKETS]; | 132 | struct list_head audit_inode_hash[AUDIT_INODE_BUCKETS]; |
