1
0
Fork 0

MLK-24527-2 usb: host: xhci-plat: delete the unnecessary code

The if {} condition is duplicated with outer if {} condition.

Reviewed-by: Jun Li <jun.li@nxp.com>
Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
(cherry picked from commit d968863bcac6e698cab31ab0f526568ca7047d60)
5.4-rM2-2.2.x-imx-squashed
Peter Chen 2020-05-22 17:16:10 +08:00 committed by Li Jun
parent 97597da0e1
commit d3b442ef2c
1 changed files with 1 additions and 2 deletions

View File

@ -264,8 +264,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);