Re: [PATCH] x86/sgx: simplify the return expression of sgx_drv_init()

From: Dave Hansen
Date: Thu May 05 2022 - 13:31:29 EST


On 5/4/22 19:16, cgel.zte@xxxxxxxxx wrote:
> From: Minghao Chi <chi.minghao@xxxxxxxxxx>
>
> Simplify the return expression.
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: Minghao Chi <chi.minghao@xxxxxxxxxx>

Folks, I'd really encourage you to spend your time elsewhere. These
"cleanup" or "simplify" patches as a whole have high rates of bugs. I
don't trust them. Plus, they don't really make the code easier to
understand.