diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-01-14 18:57:18 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-02-18 16:20:26 -0800 |
commit | da5447265434045410f579e4257dd64bf64de6c0 (patch) | |
tree | 3ef69154f11cdbf1d6364fdd87eb51e91f04d6ba /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a57cdeb369ef73066937e06df5bcbb34624b13e8 (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.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions