Re: [RFC 1/4] include/linux/swap.h: Remove unused leftovers

From: Barry Song

Date: Wed Jun 10 2026 - 17:12:28 EST


On Thu, Jun 11, 2026 at 12:41 AM Nhat Pham <nphamcs@xxxxxxxxx> wrote:
>
> On Tue, Jun 9, 2026 at 6:20 AM Ritesh Harjani (IBM)
> <ritesh.list@xxxxxxxxx> wrote:
> >
> > This removed unused leftovers most of them are forward structure
> > declarations. Also removes SWAP_BATCH macro which isn't used any
> > where in the code.
> >
> > Found these during manual code review.
> >
> > Signed-off-by: Ritesh Harjani (IBM) <ritesh.list@xxxxxxxxx>
> > ---
> > include/linux/swap.h | 7 -------
> > 1 file changed, 7 deletions(-)
>
> Seems like this can be submitted independently of this patch series right?

+1

Applied the patch and built the kernel. It seems to work.
Feel free to add:
Reviewed-by: Barry Song <baohua@xxxxxxxxxx>