usb: cnds3: drd: deleted !=

Patch deletes unnecessary != from condition statement in cdns3_drd_init
function.

Reviewed-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
This commit is contained in:
Pawel Laszczak 2020-07-13 12:05:48 +02:00 committed by Felipe Balbi
parent 27afe16612
commit ecf4f823fb
1 changed files with 1 additions and 1 deletions

View File

@ -365,7 +365,7 @@ int cdns3_drd_init(struct cdns3 *cdns)
} }
state = readl(&cdns->otg_regs->sts); state = readl(&cdns->otg_regs->sts);
if (OTGSTS_OTG_NRDY(state) != 0) { if (OTGSTS_OTG_NRDY(state)) {
dev_err(cdns->dev, "Cadence USB3 OTG device not ready\n"); dev_err(cdns->dev, "Cadence USB3 OTG device not ready\n");
return -ENODEV; return -ENODEV;
} }