summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhihong Chen <[email protected]>2025-05-19 14:43:16 +0800
committersakumisu <[email protected]>2025-05-19 14:56:39 +0800
commitd6f912c48dd974822ca3a9bb38c4ac779e706e83 (patch)
tree8fc47e8e7607b3db4c2057d81f06e8cc96670abb
parent7465a59eaa980545701d32ef7f1bf09f76b7f4ce (diff)
fix zephyr build warning
Signed-off-by: Zhihong Chen <[email protected]>
-rw-r--r--osal/usb_osal_zephyr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/osal/usb_osal_zephyr.c b/osal/usb_osal_zephyr.c
index a4ddfcb2..c087c962 100644
--- a/osal/usb_osal_zephyr.c
+++ b/osal/usb_osal_zephyr.c
@@ -149,7 +149,6 @@ int usb_osal_mutex_give(usb_osal_mutex_t mutex)
usb_osal_mq_t usb_osal_mq_create(uint32_t max_msgs)
{
struct k_msgq *msgq;
- char *buffer;
msgq = k_malloc(sizeof(struct k_msgq));
if (msgq == NULL) {