]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: temperature: max30208: Remove an unused field in struct max30208_data
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Wed, 1 May 2024 09:19:41 +0000 (11:19 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 27 May 2024 08:48:56 +0000 (09:48 +0100)
commitf8107cd6f9b9279544f6ee917919b15d95c6385c
treef0f1b8fbb5aef4fd791b882172f33165ee1853bd
parentf26cc90a463646a2246c4c90eeaef5f5f624ea74
iio: temperature: max30208: Remove an unused field in struct max30208_data

In "struct max30208_data", the 'indio_dev' field is unused.
Remove it.

Found with cppcheck, unusedStructMember.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/73f9f540ecdc7c10e833e6fc782324ae7d34ba9c.1714555144.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/temperature/max30208.c