diff mbox

nfs: Remove unused list nfs4_clientid_list

Message ID 1355380672-10982-1-git-send-email-ycnian@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

ycnian@gmail.com Dec. 13, 2012, 6:37 a.m. UTC
From: Yanchuan Nian <ycnian@gmail.com>

This list was designed to store struct nfs4_client in the client side.
But nfs4_client was obsolete and has been removed from the source code. 
So remove the unused list.

Signed-off-by: Yanchuan Nian <ycnian@gmail.com>
---
 fs/nfs/nfs4state.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Comments

Trond Myklebust Dec. 13, 2012, 3:54 p.m. UTC | #1
On Thu, 2012-12-13 at 14:37 +0800, ycnian@gmail.com wrote:
> From: Yanchuan Nian <ycnian@gmail.com>

> 

> This list was designed to store struct nfs4_client in the client side.

> But nfs4_client was obsolete and has been removed from the source code. 

> So remove the unused list.

> 

> Signed-off-by: Yanchuan Nian <ycnian@gmail.com>

> ---

>  fs/nfs/nfs4state.c |    1 -

>  1 files changed, 0 insertions(+), 1 deletions(-)

> 

> diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c

> index c351e6b..51c9b0b 100644

> --- a/fs/nfs/nfs4state.c

> +++ b/fs/nfs/nfs4state.c

> @@ -66,7 +66,6 @@

>  

>  const nfs4_stateid zero_stateid;

>  static DEFINE_MUTEX(nfs_clid_init_mutex);

> -static LIST_HEAD(nfs4_clientid_list);

>  

>  int nfs4_init_clientid(struct nfs_client *clp, struct rpc_cred *cred)

>  {


Applied
-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@netapp.com
www.netapp.com
diff mbox

Patch

diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c
index c351e6b..51c9b0b 100644
--- a/fs/nfs/nfs4state.c
+++ b/fs/nfs/nfs4state.c
@@ -66,7 +66,6 @@ 
 
 const nfs4_stateid zero_stateid;
 static DEFINE_MUTEX(nfs_clid_init_mutex);
-static LIST_HEAD(nfs4_clientid_list);
 
 int nfs4_init_clientid(struct nfs_client *clp, struct rpc_cred *cred)
 {