diff options
author | 2021-03-08 10:03:20 +0100 | |
---|---|---|
committer | 2021-03-12 15:53:07 +0100 | |
commit | f52da4ccfec9192e17f5c16260dfdd6d3ea76f65 (patch) | |
tree | 3f719ee7087c3b6eb1f46a155e6ba20a081fe650 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | firmware: bcm47xx_nvram: look for NVRAM with for instead of while (diff) | |
download | linux-dev-f52da4ccfec9192e17f5c16260dfdd6d3ea76f65.tar.xz linux-dev-f52da4ccfec9192e17f5c16260dfdd6d3ea76f65.zip |
firmware: bcm47xx_nvram: inline code checking NVRAM size
Separated function was not improving code quality much (or at all).
Moreover it expected possible flash end address as argument and it was
returning NVRAM size.
The new code always operates on offsets which means less logic and less
calculations.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions