summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-03-21 13:19:11 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-21 13:25:00 +0300
commitee2f38b3c6f2c68a0e6f5945aae91d607bc9a7c6 (patch)
tree3a938abfc2cb12523406f4a8bfda2488bf3710e2 /Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml
parent9e67955322838b93e37f3902cabde0ee712dd2ef (diff)
downloadlinux-ee2f38b3c6f2c68a0e6f5945aae91d607bc9a7c6.tar.xz
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