[PATCH] soc: ti: wkup_m3_ipc:Remove redundant return value
Jingjing Liu
liujingjing at cdjrlc.com
Wed Nov 3 02:25:31 PDT 2021
Remove the return value of the empty function:
remove 'return 0' of the void function 'wkup_m3_rproc_boot_thread'
Signed-off-by: Jingjing Liu <liujingjing at cdjrlc.com>
---
drivers/soc/ti/wkup_m3_ipc.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/soc/ti/wkup_m3_ipc.c b/drivers/soc/ti/wkup_m3_ipc.c
index 0733443a2631..2238beb40f8d 100644
--- a/drivers/soc/ti/wkup_m3_ipc.c
+++ b/drivers/soc/ti/wkup_m3_ipc.c
@@ -425,8 +425,6 @@ static void wkup_m3_rproc_boot_thread(struct wkup_m3_ipc *m3_ipc)
dev_err(dev, "rproc_boot failed\n");
else
m3_ipc_state = m3_ipc;
-
- return 0;
}
static int wkup_m3_ipc_probe(struct platform_device *pdev)
--
2.33.1
More information about the linux-arm-kernel
mailing list