]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita655082e46f800475644e583a327aaf47edcd89d
tree48120d0b52e1aed5aa13f06bdc2821db4191802b
parent993a0c6a21b0e4b4a0b8972116a0a83b9c95cb46
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 a44c64727cb3 ("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