diff options
Diffstat (limited to 'kernel/auditsc.c')
-rw-r--r-- | kernel/auditsc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c index e128adcb33c2..091409996577 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c | |||
@@ -1293,7 +1293,6 @@ static void audit_log_exit(struct audit_context *context, struct task_struct *ts | |||
1293 | break; } | 1293 | break; } |
1294 | 1294 | ||
1295 | case AUDIT_SOCKETCALL: { | 1295 | case AUDIT_SOCKETCALL: { |
1296 | int i; | ||
1297 | struct audit_aux_data_socketcall *axs = (void *)aux; | 1296 | struct audit_aux_data_socketcall *axs = (void *)aux; |
1298 | audit_log_format(ab, "nargs=%d", axs->nargs); | 1297 | audit_log_format(ab, "nargs=%d", axs->nargs); |
1299 | for (i=0; i<axs->nargs; i++) | 1298 | for (i=0; i<axs->nargs; i++) |
@@ -1318,7 +1317,6 @@ static void audit_log_exit(struct audit_context *context, struct task_struct *ts | |||
1318 | 1317 | ||
1319 | for (aux = context->aux_pids; aux; aux = aux->next) { | 1318 | for (aux = context->aux_pids; aux; aux = aux->next) { |
1320 | struct audit_aux_data_pids *axs = (void *)aux; | 1319 | struct audit_aux_data_pids *axs = (void *)aux; |
1321 | int i; | ||
1322 | 1320 | ||
1323 | for (i = 0; i < axs->pid_count; i++) | 1321 | for (i = 0; i < axs->pid_count; i++) |
1324 | if (audit_log_pid_context(context, axs->target_pid[i], | 1322 | if (audit_log_pid_context(context, axs->target_pid[i], |