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
parent
97597da0e1
commit
d3b442ef2c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue