OpenCloudOS-Kernel/security/smack
kbuild test robot ca70d27e44 sysfs: fix simple_return.cocci warnings
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 <fengguang.wu@intel.com>
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
2015-07-22 12:31:40 -07:00
..
Kconfig Smack: secmark support for netfilter 2015-01-20 16:34:25 -08:00
Makefile Smack: Repair netfilter dependency 2015-01-23 10:08:19 -08:00
smack.h smack: allow mount opts setting over filesystems with binary mount data 2015-07-22 12:31:28 -07:00
smack_access.c Smack: allow multiple labels in onlycap 2015-06-02 11:53:42 -07:00
smack_lsm.c smack: allow mount opts setting over filesystems with binary mount data 2015-07-22 12:31:28 -07:00
smack_netfilter.c netfilter: Make nf_hookfn use nf_hook_state. 2015-04-04 12:31:38 -04:00
smackfs.c sysfs: fix simple_return.cocci warnings 2015-07-22 12:31:40 -07:00