OSDN Git Service

NFS: Remove unused variable "pages_ptr"
authorAnna Schumaker <Anna.Schumaker@netapp.com>
Mon, 13 Jul 2015 18:01:24 +0000 (14:01 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 17 Aug 2015 18:29:24 +0000 (13:29 -0500)
commit0b936e37df8111ea727263a5a246b58e05b7aa1b
tree040403a8f9b283282f3a895c195b549c9a3eae75
parentce603281468cf1be0a70a45fdaef761db134b900
NFS: Remove unused variable "pages_ptr"

This variable is initialized to NULL and is never modified before being
passed to nfs_readdir_free_large_page().  But that's okay, because
nfs_readdir_free_large_page() only seems to exist as a way of calling
nfs_readdir_free_pagearray() without this parameter.  Let's simplify by
removing pages_ptr and nfs_readdir_free_pagearray().

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/dir.c