aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2021-02-08 16:48:06 +0100
committerJohan Hovold <[email protected]>2021-02-09 13:14:30 +0100
commit1542d1324be1191d970f69c55e885af5dd810b84 (patch)
treee5dda4b2db9d2ce71cba380279a85bc060a17739 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py
parentc5d1448fa353242635fa3e1fed6ab4558e0e7d9a (diff)
USB: serial: drop bogus to_usb_serial_port() checks
The to_usb_serial_port() macro is implemented using container_of() so there's no need to check for NULL. Note that neither bus match() or probe() is ever called with a NULL struct device pointer so the checks weren't just misplaced. Reviewed-by: Greg Kroah-Hartman <[email protected]> Reviewed-by: Uwe Kleine-König <[email protected]> Signed-off-by: Johan Hovold <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions