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)
commit0ecc617858fce305bedcf735eb18a46cb7e9921f
treeb16354e4fafa732f6e88ada0b8ed55c6eb9ebb67
parent6ddb5680085a3eefe0c6267e3514060045a13c95
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