aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2024-03-04 16:04:33 +0200
committerJonathan Cameron <[email protected]>2024-03-25 20:10:12 +0000
commit5c4e411566dfd76202c1af0d4ca04438e544ca28 (patch)
tree6c1e7239b33c5b684f7bc02ea15730e49516bebc /tools/perf/scripts/python
parentf0245ab389330cbc1d187e358a5b890d9f5383db (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')
0 files changed, 0 insertions, 0 deletions