On 25/04/2024 14:30, Christoph Hellwig wrote:
I've never seen code where __maybe_unused is the right answer, and this is no exception.Then what about 9798f615ad2be?Also not great and should be fixed. (it also wasn't in the original patch and only got added working around some debug warnings)
Fine, I'll look to remove those ones as well, which I think is possible with the same method you suggest.
However, there seems to be many more in -next now, but not for local variables..