aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorYunfeng Ye <[email protected]>2019-10-23 13:27:34 +0000
committerPaul Moore <[email protected]>2019-10-25 15:48:14 +0000
commitc34c78dfc1fc68a1f5403f996de8ca62f298d7b2 (patch)
tree059d13400b64449c3fe3e20dc1bb6223a8db04ef /net/unix/af_unix.c
parentaudit: Report suspicious O_CREAT usage (diff)
downloadkernel-c34c78dfc1fc68a1f5403f996de8ca62f298d7b2.tar.gz
kernel-c34c78dfc1fc68a1f5403f996de8ca62f298d7b2.zip
audit: remove redundant condition check in kauditd_thread()
Warning is found by the code analysis tool: "the condition 'if(ac && rc < 0)' is redundant: ac" The @ac variable has been checked before. It can't be a null pointer here, so remove the redundant condition check. Signed-off-by: Yunfeng Ye <[email protected]> Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions