]> git.baikalelectronics.ru Git - kernel.git/commit
audit: remove unnecessary 'ret' initialization
authorAustin Kim <austin.kim@lge.com>
Fri, 11 Jun 2021 02:28:35 +0000 (03:28 +0100)
committerPaul Moore <paul@paul-moore.com>
Fri, 11 Jun 2021 17:21:28 +0000 (13:21 -0400)
commit80251fbc4ce92351759839ecf2c6caea6faff968
treeb16354e4fafa732f6e88ada0b8ed55c6eb9ebb67
parent52b1546f65a28c9e7d19681dc6ec4bcb71e3ccdf
audit: remove unnecessary 'ret' initialization

The variable 'ret' is set to 0 when declared.
The 'ret' is unused until it is set to 0 again.

So it had better remove unnecessary initialization.

Signed-off-by: Austin Kim <austin.kim@lge.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/lsm_audit.c