aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMartin Kelly <mkelly@xevo.com>2018-05-01 10:56:42 -0700
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-05-12 10:01:41 +0100
commitcbf73ae59bee340f423479eb48aef9a0efdd8010 (patch)
tree1b0ff30e17ab41169488eeb17435d2cbf83f06a8 /tools/perf/scripts/python/export-to-postgresql.py
parentstaging: wlan-ng: fix block comment alignment in p80211metastruct.h (diff)
downloadlinux-cbf73ae59bee340f423479eb48aef9a0efdd8010.tar.gz
linux-cbf73ae59bee340f423479eb48aef9a0efdd8010.zip
iio: imu: inv_mpu6050: make loop a do-while
Prior to this loop, we check if fifo_count < bytes_per_datum and bail if so. This means that when we hit the loop, we know that fifo_count >= bytes_per_datum, so the check is unneeded and we can turn the loop into a do-while for a slight performance improvement. Signed-off-by: Martin Kelly <mkelly@xevo.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions