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

From: IBM

Date: Wed Jun 10 2026 - 23:01:03 EST


Barry Song <baohua@xxxxxxxxxx> writes:

> 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>

Sure thanks Nhat & Barry. Yes, this patch can be picked up separately
and it should not cause any conflict with the rest of the patch series
either.

Let me split it and will send this one out separately with Barry's RB
tag.

-ritesh