usb: host: u132-hcd: Drop if with an always true condition
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 21 Mar 2023 10:19:11 +0000 (11:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Mar 2023 10:25:00 +0000 (11:25 +0100)
commitee2f38b3c6f2c68a0e6f5945aae91d607bc9a7c6
tree3a938abfc2cb12523406f4a8bfda2488bf3710e2
parent9e67955322838b93e37f3902cabde0ee712dd2ef
usb: host: u132-hcd: Drop if with an always true condition

A platform device's .remove() callback is only ever called after
.probe() successfully completed. After such a successful call,
platform_get_drvdata() doesn't return NULL. Simplify accordingly.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20230321101911.342538-3-u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/u132-hcd.c