Message ID | 20200918131752.16488-4-mathias.nyman@linux.intel.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 93cb8f13be872bc2895a97a42a666201e68b2a1d |
Headers | show |
Series | xhci features for usb-next | expand |
diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c index c3ce4d762adf..07ca000a0084 100644 --- a/drivers/usb/host/xhci-plat.c +++ b/drivers/usb/host/xhci-plat.c @@ -283,8 +283,7 @@ static int xhci_plat_probe(struct platform_device *pdev) struct xhci_plat_priv *priv = hcd_to_xhci_priv(hcd); /* Just copy data for now */ - if (priv_match) - *priv = *priv_match; + *priv = *priv_match; } device_wakeup_enable(hcd->self.controller);