aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2018-09-24 16:52:34 -0700
committerWolfram Sang <[email protected]>2018-10-11 23:09:20 +0200
commitef8d1639f2b71c683277cc2b27354541792f6ecf (patch)
tree4d99d6758de6c28edd48f172d727527ce676e864 /tools/perf/scripts/python/export-to-postgresql.py
parent90fb814b6c025da45f71db1703cffe3fe87f575c (diff)
i2c: i2c-qcom-geni: Simplify tx/rx functions
We never really look at the 'ret' local variable in these functions, so let's remove it to make way for shorter and simpler code. Furthermore, we can shorten some lines by adding two local variables for the SE and the message length so that everything fits in 80 columns and testing the 'dma_buf' local variable in lieu of the 'mode' local variable. And kernel style is to leave the return statement by itself, detached from the rest of the function. Signed-off-by: Stephen Boyd <[email protected]> Reviewed-by: Douglas Anderson <[email protected]> Reviewed-by: Alok Chauhan <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions