[PATCH] ubifs: remove return in compr_exit()

Zhihao Cheng chengzhihao1 at huawei.com
Tue Mar 21 00:34:01 PDT 2023


> It's redundant, let's remove it.
> 
> Signed-off-by: Yangtao Li <frank.li at vivo.com>
> ---
>   fs/ubifs/compress.c | 1 -
>   1 file changed, 1 deletion(-)
Reviewed-by: Zhihao Cheng <chengzhihao1 at huawei.com>
> 
> diff --git a/fs/ubifs/compress.c b/fs/ubifs/compress.c
> index 3a92e6af69b2..75461777c466 100644
> --- a/fs/ubifs/compress.c
> +++ b/fs/ubifs/compress.c
> @@ -217,7 +217,6 @@ static void compr_exit(struct ubifs_compressor *compr)
>   {
>   	if (compr->capi_name)
>   		crypto_free_comp(compr->cc);
> -	return;
>   }
>   
>   /**
> 




More information about the linux-mtd mailing list