]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: remove set but not used variable 'mapping'
authorYueHaibing <yuehaibing@huawei.com>
Tue, 27 Aug 2019 07:16:36 +0000 (15:16 +0800)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 27 Aug 2019 14:24:56 +0000 (10:24 -0400)
commit054742a3c1e1ffc13adfad2db308688f6280a4d2
tree71520cac16e92c5b4f5764d2edc6a043dc28cce0
parent9530a503f4d81e70e9ba7262b9e2ac9c1f8d114b
NFS: remove set but not used variable 'mapping'

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

fs/nfs/write.c: In function nfs_page_async_flush:
fs/nfs/write.c:609:24: warning: variable mapping set but not used [-Wunused-but-set-variable]

It is not use since commit aefb623c422e ("NFS: Fix
writepage(s) error handling to not report errors twice")

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/write.c