]> git.baikalelectronics.ru Git - kernel.git/commit
iio:dummy: Drop set but unused variable len.
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 28 Nov 2021 17:24:43 +0000 (17:24 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 21 Dec 2021 15:10:09 +0000 (15:10 +0000)
commit19817944330c2397baad2c1e67d6e88cdd043537
tree6f09d1b972647eaf03c5829fef7a400c63cb93bf
parentd7f41dc8220d154ecead5a63a3e412d0e677ecb2
iio:dummy: Drop set but unused variable len.

Not sure what the thinking was here, as lost to history, but the
variable is clearly not used so get rid of it.

Warning seen with clang W=1 tests (may be present with other compilers
and build options).

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/20211128172445.2616166-11-jic23@kernel.org
drivers/iio/dummy/iio_simple_dummy_buffer.c