Re: [PATCH v2 00/13] iio: remove unused struct fields across drivers
From: Jonathan Cameron
Date: Tue Mar 03 2026 - 16:30:19 EST
On Thu, 5 Feb 2026 20:45:32 +0000
Jonathan Cameron <jic23@xxxxxxxxxx> wrote:
> On Tue, 3 Feb 2026 11:44:45 +0200
> Andy Shevchenko <andriy.shevchenko@xxxxxxxxx> wrote:
>
> > On Mon, Feb 02, 2026 at 01:25:50PM +0200, Antoniu Miclaus wrote:
> > > This series removes unused struct fields found across various IIO
> > > drivers. These fields were either left over from previous refactoring,
> > > or were added during development but never actually used.
> > >
> > > Removing them reduces memory footprint slightly and improves code
> > > clarity by eliminating dead struct members that could confuse future
> > > readers.
> > >
> > > Each patch is independent and can be merged separately as they touch
> > > different drivers with no dependencies between them.
> >
> > Assuming it applies cleanly and compiles,
> > Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
> > and I see in some cases it gains space.
> >
>
> Applied. Thanks!
>
Unfortunately I was a Muppet and applied this to a temporary tree
then lost it. Now it's actually on the testing branch of iio.git.
Thanks,
Jonathan
> J
>