OSDN Git Service

usb: host: xhci-plat: delete the unnecessary code
authorPeter Chen <peter.chen@nxp.com>
Fri, 18 Sep 2020 13:17:45 +0000 (16:17 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 20 Sep 2020 14:18:00 +0000 (16:18 +0200)
commit93cb8f13be872bc2895a97a42a666201e68b2a1d
tree12f71ad34c86d3277a04f46bbd24f31c6d2c5e49
parent5e0e54ff89248776739bdf08e5bf6c64f2ac4185
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>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20200918131752.16488-4-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-plat.c