]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: tmag5273: Remove some unused field in struct tmag5273_data
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Wed, 1 May 2024 11:28:50 +0000 (13:28 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 27 May 2024 08:48:56 +0000 (09:48 +0100)
commite1c313e04741ac045b1350e83d42cfc08db5e58f
treeb8ef53f8e4d559f9d184fff4b53216d61be35919
parent2625b8eaccae72d4f9b4992f92aaf2b7b5b89f73
iio: tmag5273: Remove some unused field in struct tmag5273_data

In "struct tmag5273_data", the 'scale' and 'vcc' fields are unused.
Remove them.

Found with cppcheck, unusedStructMember.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Gerald Loacker <gerald.loacker@wolfvision.net>
Link: https://lore.kernel.org/r/7bd16d7fea12c64b6b3dc3cd32839cfce145bcf3.1714562912.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/magnetometer/tmag5273.c