diff mbox series

ubifs: remove return in compr_exit()

Message ID 20230321071136.68872-1-frank.li@vivo.com
State Accepted
Delegated to: Richard Weinberger
Headers show
Series ubifs: remove return in compr_exit() | expand

Commit Message

Yangtao Li March 21, 2023, 7:11 a.m. UTC
It's redundant, let's remove it.

Signed-off-by: Yangtao Li <frank.li@vivo.com>
---
 fs/ubifs/compress.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Zhihao Cheng March 21, 2023, 7:34 a.m. UTC | #1
> It's redundant, let's remove it.
> 
> Signed-off-by: Yangtao Li <frank.li@vivo.com>
> ---
>   fs/ubifs/compress.c | 1 -
>   1 file changed, 1 deletion(-)
Reviewed-by: Zhihao Cheng <chengzhihao1@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;
>   }
>   
>   /**
>
diff mbox series

Patch

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;
 }
 
 /**