aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2021-01-14 18:57:18 +0100
committerGreg Kroah-Hartman <[email protected]>2021-01-15 10:21:42 +0100
commit63e34e707c6248645da340d4aff7714ec27b5fb1 (patch)
tree92443c03d4fa3b03fff4f9013b1121a21dd2a5db /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
parent6da629c85871a0cb65fad3e0c0a440d64002b0a7 (diff)
tty: vcc: Drop impossible to hit WARN_ON
vcc_get() returns the port that has provided port->index. As the port that is about to be removed isn't removed yet this trivially will find this port. So simplify the call to not assign an identical value to the port pointer and drop the warning that is never hit. Reviewed-by: Jiri Slaby <[email protected]> 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/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions