virtiofs: Remove set but not used variable 'fc'
authorzhengbin <zhengbin13@huawei.com>
Wed, 23 Oct 2019 02:02:49 +0000 (10:02 +0800)
committerMiklos Szeredi <mszeredi@redhat.com>
Wed, 23 Oct 2019 08:25:17 +0000 (10:25 +0200)
commit80da5a809d193c60d090cbdf4fe316781bc07965
tree48120d0b52e1aed5aa13f06bdc2821db4191802b
parenta9bfd9dd3417561d06c81de04f6d6c1e0c9b3d44
virtiofs: Remove set but not used variable 'fc'

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 <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/virtio_fs.c