mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
phy: rockchip: inno-usb2: fix compile warning
This patch fixes the following compile warning: drivers/phy/rockchip/phy-rockchip-inno-usb2.c:1225:3: warning: Value stored to 'sch_work' is never read drivers/phy/rockchip/phy-rockchip-inno-usb2.c:1235:4: warning: Value stored to 'sch_work' is never read Signed-off-by: William Wu <william.wu@rock-chips.com> Change-Id: I053f5775b28707a45530405084e3df827edde882
This commit is contained in:
@@ -1243,7 +1243,6 @@ static void rockchip_usb2phy_otg_sm_work(struct work_struct *work)
|
||||
delay = OTG_SCHEDULE_DELAY;
|
||||
wake_unlock(&rport->wakelock);
|
||||
}
|
||||
sch_work = true;
|
||||
break;
|
||||
case OTG_STATE_A_HOST:
|
||||
if (extcon_get_state(rphy->edev, EXTCON_USB_HOST) == 0) {
|
||||
|
||||
Reference in New Issue
Block a user