Re: [PATCH -next] nfsd: remove set but not used variable 'dirp'

2018-09-25 Thread J. Bruce Fields
Thanks, applying for 4.20.--b. On Tue, Sep 25, 2018 at 11:22:53AM +, YueHaibing wrote: > 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] > >

[PATCH -next] nfsd: remove set but not used variable 'dirp'

2018-09-25 Thread YueHaibing
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 --- fs/nfsd/vfs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/nfsd/vfs.c