diff options
author | Anna Schumaker <Anna.Schumaker@netapp.com> | 2015-06-10 16:54:28 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-06-10 18:32:40 -0400 |
commit | 11598b8ff2b97cf034d0c025cf125c92b574bafc (patch) | |
tree | 5867d1835d951902f47ab03d32f8b3d87519e3cd /fs/nfs/pagelist.c | |
parent | c86c90c656fa2c94c2491dd86cf09501193f0dad (diff) | |
download | lwn-11598b8ff2b97cf034d0c025cf125c92b574bafc.tar.gz lwn-11598b8ff2b97cf034d0c025cf125c92b574bafc.zip |
NFS: Remove unused nfs_rw_ops->rw_release() function
This was only ever set to nfs_writeback_release_common(), a function
which is completely empty. Let's just drop this function pointer and
simplify the code a bit.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/pagelist.c')
-rw-r--r-- | fs/nfs/pagelist.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/pagelist.c b/fs/nfs/pagelist.c index 282b39369510..e9953ab1ac40 100644 --- a/fs/nfs/pagelist.c +++ b/fs/nfs/pagelist.c @@ -690,8 +690,6 @@ static int nfs_pgio_error(struct nfs_pageio_descriptor *desc, static void nfs_pgio_release(void *calldata) { struct nfs_pgio_header *hdr = calldata; - if (hdr->rw_ops->rw_release) - hdr->rw_ops->rw_release(hdr); nfs_pgio_data_destroy(hdr); hdr->completion_ops->completion(hdr); } |