diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-05-10 23:49:45 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-05-27 01:33:42 +0100 |
commit | a71b7845c0e417f2787a8e2ac77e571fce7dc72c (patch) | |
tree | 7570cd397f3eac382a5579e6dbb4bf6d1780b4fc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 85ce0dc28ffd4861d91b96f488d31878d8901e49 (diff) |
spi: Refactor spi_stop_queue()
The refactoring makes code less verbose and easier to read.
Besides that the binary size is also reduced, which sounds
like a win-win case:
add/remove: 0/1 grow/shrink: 2/2 up/down: 210/-226 (-16)
Function old new delta
spi_destroy_queue 42 156 +114
spi_controller_suspend 101 197 +96
spi_unregister_controller 346 319 -27
spi_register_controller 1834 1794 -40
spi_stop_queue 159 - -159
Total: Before=49230, After=49214, chg -0.03%
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://msgid.link/r/20240510204945.2581944-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions