Tag: ca70d27e445fe721587598030b97357b35f61913

sysfs: fix simple_return.cocci warnings

Author: kbuild test robot <fengguang.wu@intel.com> security/smack/smackfs.c:2251:1-4: WARNING: end returns can be simpified and declaration on line 2250 can be dropped Simplify a trivial if-return sequence. Possibly combine with a preceding function call. Generated by: scripts/coccinelle/misc/simple_return.cocci Signed-off-by: Fengguang Wu Acked-by: Serge Hallyn Acked-by: Casey Schaufler — security/smack/smackfs.c | 6 +—– 1 file changed, 1 insertion(+), 5 …

Continue reading