]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
iio: adc: max1363: remove unused requestedmask field
authorAntoniu Miclaus <antoniu.miclaus@analog.com>
Mon, 2 Feb 2026 11:25:55 +0000 (13:25 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 3 Mar 2026 21:20:02 +0000 (21:20 +0000)
Remove unused requestedmask field from max1363_state struct.
The field is declared but never accessed in the driver.

Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/max1363.c

index d35f4487b2f9542bab8c3005e57d837bc9926819..3ccc7b2d4f679647e81eeebc85a0692521e40457 100644 (file)
@@ -149,7 +149,6 @@ struct max1363_chip_info {
  * @configbyte:                cache of current device config byte
  * @chip_info:         chip model specific constants, available modes, etc.
  * @current_mode:      the scan mode of this chip
- * @requestedmask:     a valid requested set of channels
  * @lock:              lock to ensure state is consistent
  * @monitor_on:                whether monitor mode is enabled
  * @monitor_speed:     parameter corresponding to device monitor speed setting
@@ -169,7 +168,6 @@ struct max1363_state {
        u8                              configbyte;
        const struct max1363_chip_info  *chip_info;
        const struct max1363_mode       *current_mode;
-       u32                             requestedmask;
        struct mutex                    lock;
 
        /* Using monitor modes and buffer at the same time is