From: Jeff Layton Date: Mon, 28 Oct 2024 14:26:26 +0000 (-0400) Subject: nfsd: remove nfsd4_session->se_bchannel X-Git-Tag: v6.13-rc1~76^2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=53f9ba78e07cb19f0895b9cf905fb08b70a126f4;p=thirdparty%2Flinux.git nfsd: remove nfsd4_session->se_bchannel This field is written and is never consulted again. Remove it. Signed-off-by: Jeff Layton Signed-off-by: Chuck Lever --- diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index ddca893a88044..a19324a68fb3b 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c @@ -2002,8 +2002,6 @@ static struct nfsd4_session *alloc_session(struct nfsd4_channel_attrs *fattrs, } memcpy(&new->se_fchannel, fattrs, sizeof(struct nfsd4_channel_attrs)); - memcpy(&new->se_bchannel, battrs, sizeof(struct nfsd4_channel_attrs)); - return new; out_free: while (i--) diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index da22eaff37552..2485e62347bd3 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h @@ -304,7 +304,6 @@ struct nfsd4_session { struct nfs4_client *se_client; struct nfs4_sessionid se_sessionid; struct nfsd4_channel_attrs se_fchannel; - struct nfsd4_channel_attrs se_bchannel; struct nfsd4_cb_sec se_cb_sec; struct list_head se_conns; u32 se_cb_prog;