aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-03-21 11:19:11 +0100
committerGreg Kroah-Hartman <[email protected]>2023-03-21 11:25:00 +0100
commitee2f38b3c6f2c68a0e6f5945aae91d607bc9a7c6 (patch)
tree3a938abfc2cb12523406f4a8bfda2488bf3710e2 /tools/perf/scripts/python
parent9e67955322838b93e37f3902cabde0ee712dd2ef (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions