nfsd: remove set but not used variable 'dirp'
authorYueHaibing <yuehaibing@huawei.com>
Tue, 25 Sep 2018 11:22:53 +0000 (11:22 +0000)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 26 Sep 2018 00:35:13 +0000 (20:35 -0400)
commit7d20b6a2728fe3ea9fa8f4fc49cd438fcc781dd1
tree26013090e91ed8177424426171fc2eab5bf9f2fd
parente0639dc5805a9d4faaa2c07ad98fa853b9529dd3
nfsd: remove set but not used variable 'dirp'

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

fs/nfsd/vfs.c: In function 'nfsd_create':
fs/nfsd/vfs.c:1279:16: warning:
 variable 'dirp' set but not used [-Wunused-but-set-variable]

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/vfs.c