This is an automated email from the ASF dual-hosted git repository. pkarashchenko pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push: new f02ad03124 Fix error: 'mmcsd_general_cmd_read' defined but not used f02ad03124 is described below commit f02ad03124684650a186c5e8edf24bccd8d1486f Author: Xiang Xiao <xiaoxi...@xiaomi.com> AuthorDate: Mon Sep 25 16:18:16 2023 +0800 Fix error: 'mmcsd_general_cmd_read' defined but not used Signed-off-by: Xiang Xiao <xiaoxi...@xiaomi.com> --- drivers/mmcsd/mmcsd_sdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmcsd/mmcsd_sdio.c b/drivers/mmcsd/mmcsd_sdio.c index 50b2f31d70..a570568d72 100644 --- a/drivers/mmcsd/mmcsd_sdio.c +++ b/drivers/mmcsd/mmcsd_sdio.c @@ -2889,6 +2889,7 @@ static int mmcsd_read_csd(FAR struct mmcsd_state_s *priv) } #endif +#ifdef CONFIG_MMCSD_IOCSUPPORT /**************************************************************************** * Name: mmcsd_general_cmd_write * @@ -3149,7 +3150,6 @@ static int mmcsd_general_cmd_read(FAR struct mmcsd_state_s *priv, return OK; } -#ifdef CONFIG_MMCSD_IOCSUPPORT /**************************************************************************** * Name: mmcsd_iocmd *