diff options
| author | Colin Ian King <colin.i.king@gmail.com> | 2024-01-06 15:32:02 +0000 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-01-23 22:06:56 +0000 |
| commit | b58b13f156c00c2457035b7071eaaac105fe6836 (patch) | |
| tree | 82a00bd512730fc48290abe62886c2e8f93742c8 /tools/perf/scripts/python | |
| parent | iio: accel: bmi088: add i2c support for bmi088 accel driver (diff) | |
| download | linux-b58b13f156c00c2457035b7071eaaac105fe6836.tar.gz linux-b58b13f156c00c2457035b7071eaaac105fe6836.zip | |
iio: invensense: remove redundant initialization of variable period
The variable period is being initialized with a value that is never
read, it is being re-assigned a new value later on before it is read.
The initialization is redundant and can be removed.
Cleans up clang scan build warning:
Value stored to 'period' during its initialization is never
read [deadcode.DeadStores]
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Acked-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Link: https://lore.kernel.org/r/20240106153202.54861-1-colin.i.king@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
