From b7341975ab0dabaee8ade984ca1969f21eb4c44f Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Tue, 9 May 2023 11:24:24 +0200 Subject: [PATCH] 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 4314007583..fb900fe3d8 100644 --- a/drivers/usbhost/usbhost_cdcacm.c +++ b/drivers/usbhost/usbhost_cdcacm.c @@ -2141,7 +2141,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);