From be4875ed302b3ce2aa3f609a82f51767f4f16aae Mon Sep 17 00:00:00 2001 From: wangyongrong Date: Tue, 16 Jan 2024 15:01:35 +0800 Subject: [PATCH] rptun ioctl: remove rptun_panic and rptun_dump_all In the previous patch, we moved rptun_panic and rptun_dump_all in rptun to rpmsg. In order to ensure CI pass, this two API in rptun is not removed. So we remove rptun_panic and rptun_dump_all in this patch. Signed-off-by: wangyongrong --- drivers/rptun/rptun.c | 10 ---------- include/nuttx/rptun/rptun.h | 2 -- 2 files changed, 12 deletions(-) diff --git a/drivers/rptun/rptun.c b/drivers/rptun/rptun.c index b176aecc552..2ca3b601f8a 100644 --- a/drivers/rptun/rptun.c +++ b/drivers/rptun/rptun.c @@ -1053,13 +1053,3 @@ int rptun_reset(FAR const char *cpuname, int value) { return rpmsg_ioctl(cpuname, RPTUNIOC_RESET, value); } - -int rptun_panic(FAR const char *cpuname) -{ - return rpmsg_ioctl(cpuname, RPMSGIOC_PANIC, 0); -} - -void rptun_dump_all(void) -{ - rpmsg_ioctl(NULL, RPMSGIOC_DUMP, 0); -} diff --git a/include/nuttx/rptun/rptun.h b/include/nuttx/rptun/rptun.h index 5186b4f30b8..aafe4476cb7 100644 --- a/include/nuttx/rptun/rptun.h +++ b/include/nuttx/rptun/rptun.h @@ -359,8 +359,6 @@ int rptun_initialize(FAR struct rptun_dev_s *dev); int rptun_boot(FAR const char *cpuname); int rptun_poweroff(FAR const char *cpuname); int rptun_reset(FAR const char *cpuname, int value); -int rptun_panic(FAR const char *cpuname); -void rptun_dump_all(void); #ifdef __cplusplus }