audit: cleanup function braces and assignment-in-if-condition
authorAtul Kumar Pant <atulpant.linux@gmail.com>
Tue, 15 Aug 2023 20:46:44 +0000 (02:16 +0530)
committerPaul Moore <paul@paul-moore.com>
Tue, 15 Aug 2023 22:10:56 +0000 (18:10 -0400)
commit22cde1012f6a6509656f976cbe3aa5f4c5d0f1a3
tree46a46778447beb3309642801fb000705d64f5cab
parent62acadda115a94bffd1f6b36acbb67e3f04811be
audit: cleanup function braces and assignment-in-if-condition

The patch fixes following checkpatch.pl issue:
ERROR: open brace '{' following function definitions go on the next line
ERROR: do not use assignment in if condition

Signed-off-by: Atul Kumar Pant <atulpant.linux@gmail.com>
[PM: subject line tweaks]
Signed-off-by: Paul Moore <paul@paul-moore.com>
kernel/auditsc.c