Commit e56e60f7 authored by Chunfeng Yun's avatar Chunfeng Yun Committed by Greg Kroah-Hartman
Browse files

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: default avatarChunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/20210507021127.54717-2-chunfeng.yun@mediatek.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 40ddb76b
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);