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:
William Wu
2022-05-11 15:09:16 +08:00
committed by Tao Huang
parent bdc5bf6b2d
commit a9e2f5f2a7

View File

@@ -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) {