diff options
author | Andy Shevchenko <[email protected]> | 2020-08-28 17:45:19 +0300 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2020-09-03 12:22:35 +0530 |
commit | 5d7e816e444569c9fdd901ecf0e3933a6ed9a501 (patch) | |
tree | 9bc52ba7d49ba7459a6baa00133e1542370c61f5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7547dbd3b198f309aaff54e3528898a8a196faff (diff) |
dmaengine: Save few bytes and increase readability of dma_request_chan()
Split IS_ERR_OR_NULL() check followed by additional conditional
to two simple conditionals. This increases readability and saves memory:
Function old new delta
dma_request_chan 700 697 -3
Total: Before=10224, After=10221, chg -0.03%
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions