Re: [PATCH] virtiofs: Remove set but not used variable 'fc'

From
Stefan Hajnoczi <stefanha@redhat.com>
Date
2019-10-23 14:33:10
Also in
linux-fsdevel
On Wed, Oct 23, 2019 at 10:02:49AM +0800, zhengbin wrote:
Fixes gcc '-Wunused-but-set-variable' warning:

fs/fuse/virtio_fs.c: In function virtio_fs_wake_pending_and_unlock:
fs/fuse/virtio_fs.c:983:20: warning: variable fc set but not used [-Wunused-but-set-variable]

It is not used since commit 7ee1e2e631db ("virtiofs:
No need to check fpq->connected state")

Reported-by: Hulk Robot <redacted>
Signed-off-by: zhengbin <redacted>
---
 fs/fuse/virtio_fs.c | 2 --
 1 file changed, 2 deletions(-)
Only affects the linux-next tree, not virtio-fs-dev or linux.git/master.
Same as "[PATCH -next] virtiofs: remove unused variable 'fc'"
([off-list ref]).

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Thread (1 message) 1 message, 1 author, last reply 2019-10-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help