summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-03-04 16:04:33 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-03-25 20:10:12 +0000
commit5c4e411566dfd76202c1af0d4ca04438e544ca28 (patch)
tree6c1e7239b33c5b684f7bc02ea15730e49516bebc /tools/perf/scripts/python/event_analyzing_sample.py
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 <andriy.shevchenko@linux.intel.com> Reviewed-by: David Lechner <dlechner@baylibre.com> Link: https://lore.kernel.org/r/20240304140650.977784-3-andriy.shevchenko@linux.intel.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions