Re: [PATCH V2] xfs: remove duplicated lines

From: Christoph Hellwig

Date: Mon Nov 30 2026 - 08:23:05 EST


On Mon, Nov 30, 2026 at 09:19:34PM +0800, Zizhi Wo wrote:
> I squashed them together because when I sent a similar dead-code cleanup
> series earlier this year [1], Carlos suggested that trivial removals
> like these don't really need to be split per-file and could live in one
> patch. I took that as the preferred style for this kind of change.

Splitting up per file is obviously always a bad idea. Splits should
be per logical change, and removing two totally unrelated duplicate
prototypes / forward declarations is not really only logical change
by any definition.