summaryrefslogtreecommitdiff
path: root/src/class/cdc
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-03-24 17:36:29 +0700
committerhathach <[email protected]>2023-03-24 17:36:29 +0700
commitdf5f60b6d67400891c5887afe29fcac5644cc668 (patch)
tree8511138522690758129588c9435773fd47030da7 /src/class/cdc
parentb05422978004f076de665f5101e5cc1bac34175c (diff)
fix shadow warning
Diffstat (limited to 'src/class/cdc')
-rw-r--r--src/class/cdc/cdc_host.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/class/cdc/cdc_host.c b/src/class/cdc/cdc_host.c
index 08b82416d..c0cc41adf 100644
--- a/src/class/cdc/cdc_host.c
+++ b/src/class/cdc/cdc_host.c
@@ -575,7 +575,6 @@ static void process_cdc_config(tuh_xfer_t* xfer)
if (tuh_cdc_mount_cb) tuh_cdc_mount_cb(idx);
// Prepare for incoming data
- cdch_interface_t* p_cdc = get_itf(idx);
tu_edpt_stream_read_xfer(&p_cdc->stream.rx);
// notify usbh that driver enumeration is complete