Re: [PATCH 2/2] iio: accel: kionix-kx022a: Remove the unused member g_range

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 30 Jan 2023 10:17:00 +0200
Matti Vaittinen <mazziesaccount@xxxxxxxxx> wrote:

> On 1/29/23 15:37, Mehdi Djait wrote:
> > The g_range member of the driver data struct is not used and
> > should therefore be removed  
> 
> Well spotted, thanks.
> 
> > 
> > Signed-off-by: Mehdi Djait <mehdi.djait.k@xxxxxxxxx>  
> Reviewed-by: Matti Vaittinen <mazziesaccount@xxxxxxxxx>
Applied
> 
> > ---
> >   drivers/iio/accel/kionix-kx022a.c | 1 -
> >   1 file changed, 1 deletion(-)
> > 
> > diff --git a/drivers/iio/accel/kionix-kx022a.c b/drivers/iio/accel/kionix-kx022a.c
> > index 1d3af42ec0e1..bb43cb0acce4 100644
> > --- a/drivers/iio/accel/kionix-kx022a.c
> > +++ b/drivers/iio/accel/kionix-kx022a.c
> > @@ -162,7 +162,6 @@ struct kx022a_data {
> >   	int inc_reg;
> >   	int ien_reg;
> >   
> > -	unsigned int g_range;
> >   	unsigned int state;
> >   	unsigned int odr_ns;
> >     
> 




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux