summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2018-10-05 16:28:24 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-10-11 12:10:32 +0200
commitb4fc4e8340784e000030c5a59bf0791f9c3ce15e (patch)
treeb6712317ee04b5490d4e61b5240d3e6e333dea60 /tools/perf/scripts/python/export-to-postgresql.py
parentaa5a54a06b3e7c39348ac4a17aaeb36af9375353 (diff)
staging: greybus: loopback.c: remove unused gb_loopback::lbid
It's not obvious how the code prevents adding more than 31 elements to the list and thus invoking undefined behaviour in the 1 << new_lbid expression, and in practice causing ->lbid values to repeat every 32 elements. But the definition of struct gb_loopback is local to loopback.c, and the lbid field is entirely unused outside of this function, so it seems we can just drop it entirely. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Reviewed-by: Bryan O'Donoghue <pure.logic@nexus-software.ie> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions