CIFS: remove set but not used variables 'cinode' and 'netfid'
authorYueHaibing <yuehaibing@huawei.com>
Thu, 17 Oct 2019 03:53:51 +0000 (03:53 +0000)
committerSteve French <stfrench@microsoft.com>
Mon, 25 Nov 2019 07:14:14 +0000 (01:14 -0600)
commitf28a2e5ebc54248757f5baf5b7ff1d4eb80ebae7
tree29179ec7de29de37ccca11401679352eb184339e
parentd0677992d2af3d65f1c1c21de3323d09d4891537
CIFS: remove set but not used variables 'cinode' and 'netfid'

Fixes gcc '-Wunused-but-set-variable' warning:

fs/cifs/file.c: In function 'cifs_flock':
fs/cifs/file.c:1704:8: warning:
 variable 'netfid' set but not used [-Wunused-but-set-variable]

fs/cifs/file.c:1702:24: warning:
 variable 'cinode' set but not used [-Wunused-but-set-variable]

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/file.c