NFSv4: Fix a compiler warning when CONFIG_NFS_V4_1 is undefined
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 5 Jun 2018 14:38:39 +0000 (10:38 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 5 Jun 2018 14:38:39 +0000 (10:38 -0400)
commit977294c7199ed84d4878a63781a67014e1f0efe8
tree35312e45a0afcb5529819c732a99c30a1b911288
parentfcda3d5d221bbfc469415b0fa7dc4eb87d90d955
NFSv4: Fix a compiler warning when CONFIG_NFS_V4_1 is undefined

Fix a compiler warning:
fs/nfs/nfs4proc.c:910:13: warning: 'nfs4_layoutget_release' defined but not used [-Wunused-function]
 static void nfs4_layoutget_release(void *calldata)
             ^~~~~~~~~~~~~~~~~~~~~~

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4proc.c