* [PATCH] ubifs: remove return in compr_exit()
@ 2023-03-21 7:11 Yangtao Li
2023-03-21 7:34 ` Zhihao Cheng
0 siblings, 1 reply; 2+ messages in thread
From: Yangtao Li @ 2023-03-21 7:11 UTC (permalink / raw)
To: Richard Weinberger; +Cc: Yangtao Li, linux-mtd, linux-kernel
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(-)
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;
}
/**
--
2.35.1
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] ubifs: remove return in compr_exit()
2023-03-21 7:11 [PATCH] ubifs: remove return in compr_exit() Yangtao Li
@ 2023-03-21 7:34 ` Zhihao Cheng
0 siblings, 0 replies; 2+ messages in thread
From: Zhihao Cheng @ 2023-03-21 7:34 UTC (permalink / raw)
To: Yangtao Li, Richard Weinberger; +Cc: linux-mtd, linux-kernel
> 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;
> }
>
> /**
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-21 7:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-21 7:11 [PATCH] ubifs: remove return in compr_exit() Yangtao Li
2023-03-21 7:34 ` Zhihao Cheng
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®