[PATCH v2 2/2] staging: greybus: remove unneeded return
From: Jaehee Park
Date: Tue Apr 12 2022 - 16:06:23 EST
An empty function with void return type does not need an explicit
return. Issue found by checkpatch.
Signed-off-by: Jaehee Park <jhpark1013@xxxxxxxxx>
---
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