Subject: Re: [PATCH] cocci: remove 'unused.cocci'

From: Junio C Hamano <[email-masked]>
Date: Mon, 01 May 2023 08:55:19 -0700

Ævar Arnfjörð Bjarmason <[email-masked]> writes:

> It wasn't something I intended at the time, but arguably the main use of
> this rule since it was added was that it served as a canary for the tree
> becoming completely broken with coccinelle, due to adding C syntax it
> didn't understand:
> https://lore.kernel.org/git/[email-masked]/

If it weren't Coccinelle, we could have used the much nicer looking
UNUSED(var) notation, and the compilers were all fine.

Only because Coccinelle did not understand the "cute" syntax trick,
we couldn't.  Yes, it caught us when we used a syntax it couldn't
understand, but is that a good thing in the first place?