From 50d819322420798a1f07a96732ede2d09a96fe8e Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Tue, 9 May 2023 11:24:24 +0200 Subject: [PATCH] [BACKPORT] drivers/usbhost/usbhost_cdcacm.c: fix warning --- drivers/usbhost/usbhost_cdcacm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usbhost/usbhost_cdcacm.c b/drivers/usbhost/usbhost_cdcacm.c index fc45e346b20..42e7ddf0664 100644 --- a/drivers/usbhost/usbhost_cdcacm.c +++ b/drivers/usbhost/usbhost_cdcacm.c @@ -2208,7 +2208,7 @@ static int usbhost_disconnected(FAR struct usbhost_class_s *usbclass) if (priv->intin) { - int ret = DRVR_CANCEL(hport->drvr, priv->intin); + ret = DRVR_CANCEL(hport->drvr, priv->intin); if (ret < 0) { uerr("ERROR: Interrupt IN DRVR_CANCEL failed: %d\n", ret);