summaryrefslogtreecommitdiff
path: root/fs/nfsd
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2024-10-28 17:26:26 +0300
committerChuck Lever <chuck.lever@oracle.com>2024-11-19 04:23:08 +0300
commit53f9ba78e07cb19f0895b9cf905fb08b70a126f4 (patch)
treeb5230086078917e274277f88e53c7ae309e8f23a /fs/nfsd
parent6a404f475f65c3b74799f4652dc15753834b3be0 (diff)
downloadlinux-53f9ba78e07cb19f0895b9cf905fb08b70a126f4.tar.xz
nfsd: remove nfsd4_session->se_bchannel
This field is written and is never consulted again. Remove it. Signed-off-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/nfs4state.c2
-rw-r--r--fs/nfsd/state.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index ddca893a8804..a19324a68fb3 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 da22eaff3755..2485e62347bd 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;