summaryrefslogtreecommitdiff
path: root/drivers/char/drm/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorRicardo Robaina <rrobaina@redhat.com>2026-02-26 15:13:38 -0300
committerPaul Moore <paul@paul-moore.com>2026-03-02 16:40:36 -0500
commita6053fefcd3e3522274344dd5da8d49eafea25ca (patch)
treeab8fb14d44ebc4af8a988dbf4eaec92ff447802d /drivers/char/drm/git@git.tavy.me:linux.git
parentf6c2996709ca864a8226f54377b4b07da002b807 (diff)
audit: remove redundant initialization of static variables to 0
Static variables are automatically initialized to 0 by the compiler. Remove the redundant explicit assignments in kernel/audit.c to clean up the code, align with standard kernel coding style, and fix the following checkpatch.pl errors: ./scripts/checkpatch.pl kernel/audit.c | grep -A2 ERROR: ERROR: do not initialise statics to 0 + static unsigned long last_check = 0; -- ERROR: do not initialise statics to 0 + static int messages = 0; -- ERROR: do not initialise statics to 0 + static unsigned long last_msg = 0; Signed-off-by: Ricardo Robaina <rrobaina@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'drivers/char/drm/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions