From 7b9b396ab4b393155c39cbdc343a3c121589a0a1 Mon Sep 17 00:00:00 2001 From: sakumisu <1203593632@qq.com> Date: Mon, 15 Dec 2025 20:54:05 +0800 Subject: [PATCH] fix(usbh_cp210x): remove ununsed code Signed-off-by: sakumisu <1203593632@qq.com> --- class/serial/usbh_cp210x.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/class/serial/usbh_cp210x.c b/class/serial/usbh_cp210x.c index 1aa52ff5..7b240e2c 100644 --- a/class/serial/usbh_cp210x.c +++ b/class/serial/usbh_cp210x.c @@ -302,7 +302,6 @@ static int usbh_cp210x_set_data_format(struct usbh_serial *serial, uint8_t datab static int usbh_cp210x_attach(struct usbh_serial *serial) { - struct cp210x_comm_status status = { 0 }; int ret; struct usbh_cp210x *cp210x_class = usb_osal_malloc(sizeof(struct usbh_cp210x)); @@ -319,8 +318,6 @@ static int usbh_cp210x_attach(struct usbh_serial *serial) if (ret < 0) { goto errout; } - - USB_LOG_INFO("ulAmountInInQueue: %u, ulAmountInOutQueue: %u\r\n", (unsigned int)status.ulAmountInInQueue, (unsigned int)status.ulAmountInOutQueue); return 0; errout: serial->priv = NULL;