diff options
author | 2023-03-21 11:19:11 +0100 | |
---|---|---|
committer | 2023-03-21 11:25:00 +0100 | |
commit | ee2f38b3c6f2c68a0e6f5945aae91d607bc9a7c6 (patch) | |
tree | 3a938abfc2cb12523406f4a8bfda2488bf3710e2 /Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml | |
parent | usb: host: u132-hcd: Various style improvements (diff) | |
download | wireguard-linux-ee2f38b3c6f2c68a0e6f5945aae91d607bc9a7c6.tar.xz wireguard-linux-ee2f38b3c6f2c68a0e6f5945aae91d607bc9a7c6.zip |
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>
Diffstat (limited to 'Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml')
0 files changed, 0 insertions, 0 deletions