From: Chunfeng Yun Date: Fri, 7 May 2021 02:11:25 +0000 (+0800) Subject: usb: xhci-mtk: remove unnecessary setting of has_ippc X-Git-Tag: accepted/tizen/unified/20230118.172025~6887^2~168 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e56e60f7a9d675334d1a796ba6ae31ca94ad4312;p=platform%2Fkernel%2Flinux-rpi.git usb: xhci-mtk: remove unnecessary setting of has_ippc Due to @has_ippc's default value is 0, no need set it again if fail to get ippc base address Signed-off-by: Chunfeng Yun Link: https://lore.kernel.org/r/20210507021127.54717-2-chunfeng.yun@mediatek.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/xhci-mtk.c b/drivers/usb/host/xhci-mtk.c index b2058b3..2548976 100644 --- a/drivers/usb/host/xhci-mtk.c +++ b/drivers/usb/host/xhci-mtk.c @@ -495,8 +495,6 @@ static int xhci_mtk_probe(struct platform_device *pdev) goto put_usb2_hcd; } mtk->has_ippc = true; - } else { - mtk->has_ippc = false; } device_init_wakeup(dev, true);