[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <eaf51ac31d264179298cb24c91f05a14e3651bda.1649712572.git.jhpark1013@gmail.com>
Date: Mon, 11 Apr 2022 21:50:22 -0400
From: Jaehee Park <jhpark1013@...il.com>
To: johan@...nel.org
Cc: elder@...nel.org, gregkh@...uxfoundation.org,
greybus-dev@...ts.linaro.org, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org, outreachy@...ts.linux.dev,
jhpark1013@...il.com
Subject: [PATCH 2/2] staging: greybus: remove return in an empty void function
Issue found by checkpatch:
WARNING: void function return statements are not generally useful
Signed-off-by: Jaehee Park <jhpark1013@...il.com>
---
drivers/staging/greybus/audio_codec.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/greybus/audio_codec.c b/drivers/staging/greybus/audio_codec.c
index 0f50d1e51e2c..3e3a16568def 100644
--- a/drivers/staging/greybus/audio_codec.c
+++ b/drivers/staging/greybus/audio_codec.c
@@ -1032,7 +1032,6 @@ static int gbcodec_probe(struct snd_soc_component *comp)
static void gbcodec_remove(struct snd_soc_component *comp)
{
/* Empty function for now */
- return;
}
static int gbcodec_write(struct snd_soc_component *comp, unsigned int reg,
--
2.25.1
Powered by blists - more mailing lists