aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
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/bin/stackcollapse-record
parentiio: core: Leave private pointer NULL when no private data supplied (diff)
downloadlinux-5c4e411566dfd76202c1af0d4ca04438e544ca28.tar.gz
linux-5c4e411566dfd76202c1af0d4ca04438e544ca28.zip
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/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions