[PATCH] lsm: remove redundant NULL check in security_init()

sashiko-bot at kernel.org sashiko-bot at kernel.org
Mon Sep 28 17:09:04 UTC 2026


> Since commit 5137e583ba26 ("lsm: cleanup the debug and console output
> in lsm_init.c"), the NULL check for lsm_order_legacy in security_init()
> has no effect.
> 
> So remove the check.
> 
> No functional change.
> 
> Signed-off-by: Sang-Heon Jeon <ekffu200098 at gmail.com>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260928170639.413560-1-ekffu200098@gmail.com?part=1




More information about the Linux-security-module-archive mailing list