summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorMassimiliano Pellizzer <mpellizzer.dev@gmail.com>2025-11-25 18:18:16 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-12-21 11:41:12 +0000
commit3624f038629d6b9ddf742f419ed7437bba0d2262 (patch)
treef7a860c400633fcb9358fed2ca0a6944e4f022da /tools/perf/scripts/python/flamegraph.py
parent5a306a64bf790ed084601d7f3e89d5dc4a18a5c2 (diff)
downloadlinux-3624f038629d6b9ddf742f419ed7437bba0d2262.tar.gz
linux-3624f038629d6b9ddf742f419ed7437bba0d2262.zip
iio: imu: smi330: remove redundant assignment in smi330_read_avail
In the IIO_CHAN_INFO_OVERSAMPLING_RATIO case, the type parameter is assigned from smi330_average_attr.type and then immediately overwritten with IIO_VAL_INT on the next line. Since smi330_average_attr.type is already initialized to IIO_VAL_INT, the second assignment is redundant. Remove the hardcoded assignment to maintain consistency in the code. Signed-off-by: Massimiliano Pellizzer <mpellizzer.dev@gmail.com> Reviewed-by: Jianping Shen <Jianping.Shen@de.bosch.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions