Re: [PATCH] fs/locks: Remove redundant assignment to cmd

From: Christian Brauner
Date: Thu Mar 09 2023 - 04:26:12 EST


From: Christian Brauner (Microsoft) <brauner@xxxxxxxxxx>


On Wed, 08 Mar 2023 15:13:16 +0800, Jiapeng Chong wrote:
> Variable 'cmd' set but not used.
>
> fs/locks.c:2428:3: warning: Value stored to 'cmd' is never read.
>
>

Seems unused for quite a while. I've picked this up since there's a few other
trivial fixes I have pending. But I'm happy to drop this if you prefer this
goes via the lock tree, Jeff.

[1/1] fs/locks: Remove redundant assignment to cmd
commit: dc592190a5543c559010e09e8130a1af3f9068d3