]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: multiplexer: Remove an unused field in struct mux
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Wed, 1 May 2024 09:41:54 +0000 (11:41 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 27 May 2024 08:48:56 +0000 (09:48 +0100)
commit2625b8eaccae72d4f9b4992f92aaf2b7b5b89f73
tree38dc740ec5a1d8b4e4cfa6bec7d49cbf97ae040b
parentf8107cd6f9b9279544f6ee917919b15d95c6385c
iio: multiplexer: Remove an unused field in struct mux

In "struct mux", 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/7bb04abdc2815caf090a6c9ecab2a51d837792a7.1714556499.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/multiplexer/iio-mux.c