Re: [PATCH linux-next] selinux: Remove the unneeded result variable
From: Paul Moore
Date: Tue Aug 30 2022 - 16:28:08 EST
On Tue, Aug 30, 2022 at 4:41 AM <cgel.zte@xxxxxxxxx> wrote:
>
> From: ye xingchen <ye.xingchen@xxxxxxxxxx>
>
> Return the value sel_make_perm_files() directly instead of storing it
> in another redundant variable.
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: ye xingchen <ye.xingchen@xxxxxxxxxx>
> ---
> security/selinux/selinuxfs.c | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
Merged into selinux/next, thanks.
--
paul-moore.com