Tag: d865e573b8a4f30fbb74fa7666ca81e3132eb547

audit: Delete unnecessary checks before two function calls

Author: Markus Elfring <elfring@users.sourceforge.net> The functions consume_skb() and kfree_skb() test whether their argument is NULL and then return immediately. Thus the tests around their calls are not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring [PM: tweak patch prefix] Signed-off-by: Paul Moore — kernel/audit.c | 7 ++—– 1 file changed, …

Continue reading