mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
There is code duplication between sec_name() and sech_name(). Simplify sec_name() by re-using sech_name(). Also, move them up to remove the forward declaration of sec_name(). Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Masahiro Yamada <[email protected]> Reviewed-by: Kees Cook <[email protected]> Cc: Nicholas Piggin <[email protected]> Cc: Jessica Yu <[email protected]> Cc: Chris Metcalf <[email protected]> Cc: Heinrich Schuchardt <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Ard Biesheuvel <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>