diff options
author | Yunfeng Ye <yeyunfeng@huawei.com> | 2019-10-23 16:27:34 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2019-10-25 18:48:14 +0300 |
commit | c34c78dfc1fc68a1f5403f996de8ca62f298d7b2 (patch) | |
tree | 059d13400b64449c3fe3e20dc1bb6223a8db04ef /kernel/dma/debug.c | |
parent | 245d73698ed7abdc7e520dfa38048bb80ce89571 (diff) | |
download | linux-c34c78dfc1fc68a1f5403f996de8ca62f298d7b2.tar.xz |
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 <yeyunfeng@huawei.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'kernel/dma/debug.c')
0 files changed, 0 insertions, 0 deletions