mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
phy: rockchip-inno-usb2: fix a clang warning
This patch fix the following clang warning: [clang]drivers/phy/rockchip/phy-rockchip-inno-usb2.c:1255:3: warning: Value stored to 'delay' is never read Change-Id: I8c70975e1bc2b24a78d0934ccefc9d67fe3a5da9 Signed-off-by: William Wu <william.wu@rock-chips.com>
This commit is contained in:
@@ -1252,7 +1252,6 @@ static void rockchip_chg_detect_work(struct work_struct *work)
|
||||
/* fall through */
|
||||
case USB_CHG_STATE_SECONDARY_DONE:
|
||||
rphy->chg_state = USB_CHG_STATE_DETECTED;
|
||||
delay = 0;
|
||||
/* fall through */
|
||||
case USB_CHG_STATE_DETECTED:
|
||||
/* put the controller in normal mode */
|
||||
|
||||
Reference in New Issue
Block a user