diff options
| author | Andy Shevchenko <[email protected]> | 2024-03-04 16:04:33 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-03-25 20:10:12 +0000 |
| commit | 5c4e411566dfd76202c1af0d4ca04438e544ca28 (patch) | |
| tree | 6c1e7239b33c5b684f7bc02ea15730e49516bebc /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | f0245ab389330cbc1d187e358a5b890d9f5383db (diff) | |
iio: core: Calculate alloc_size only once in iio_device_alloc()
No need to rewrite the value, instead use 'else' branch.
This will also help further refactoring the code later on.
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: David Lechner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions