usb: dwc_otg: Remove unused diepctl 89/231289/1
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 21 Apr 2020 04:19:43 +0000 (13:19 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 21 Apr 2020 04:20:32 +0000 (13:20 +0900)
After the commit fdbf8e9fb37e ("usb: dwc_otg: Fix possible
misbehavior during pcd reset"), diepctl is not used anymore
and it causes build warning. Remove unused diepctl variable.

Change-Id: I631fd03fb2e42cd9f7802d4c14839eedf19fbdbe
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/usb/gadget/dwc_otg/dwc_otg_pcd_intr.c

index 916f06f..7449954 100644 (file)
@@ -839,7 +839,6 @@ int32_t dwc_otg_pcd_handle_usb_reset_intr(dwc_otg_pcd_t * pcd)
        dwc_otg_core_if_t *core_if = GET_CORE_IF(pcd);
        dwc_otg_dev_if_t *dev_if = core_if->dev_if;
        depctl_data_t doepctl = {.d32 = 0 };
-       depctl_data_t diepctl = {.d32 = 0 };
        daint_data_t daintmsk = {.d32 = 0 };
        doepmsk_data_t doepmsk = {.d32 = 0 };
        diepmsk_data_t diepmsk = {.d32 = 0 };