summaryrefslogtreecommitdiffstats
path: root/fs/smb/client/cifsglob.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2023-10-06 22:27:15 +0100
committerDavid Howells <dhowells@redhat.com>2024-05-01 18:08:21 +0100
commit742b3443e23104fc81edbeccfb993ae350aae981 (patch)
tree2d5596b49af1391b2beab5b2b93ecd8e549959c6 /fs/smb/client/cifsglob.h
parent3ee1a1fc39819906f04d6c62c180e760cd3a689d (diff)
downloadlinux-stable-742b3443e23104fc81edbeccfb993ae350aae981.tar.gz
linux-stable-742b3443e23104fc81edbeccfb993ae350aae981.tar.bz2
linux-stable-742b3443e23104fc81edbeccfb993ae350aae981.zip
cifs: Remove some code that's no longer used, part 1
Remove some code that was #if'd out with the netfslib conversion. This is split into parts for file.c as the diff generator otherwise produces a hard to read diff for part of it where a big chunk is cut out. Signed-off-by: David Howells <dhowells@redhat.com> cc: Steve French <sfrench@samba.org> cc: Shyam Prasad N <nspmangalore@gmail.com> cc: Rohith Surabattula <rohiths.msft@gmail.com> cc: Jeff Layton <jlayton@kernel.org> cc: linux-cifs@vger.kernel.org cc: netfs@lists.linux.dev cc: linux-fsdevel@vger.kernel.org cc: linux-mm@kvack.org
Diffstat (limited to 'fs/smb/client/cifsglob.h')
-rw-r--r--fs/smb/client/cifsglob.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/fs/smb/client/cifsglob.h b/fs/smb/client/cifsglob.h
index 983860bf5fbb..65574e69ba4f 100644
--- a/fs/smb/client/cifsglob.h
+++ b/fs/smb/client/cifsglob.h
@@ -1515,18 +1515,6 @@ struct cifs_io_subrequest {
struct smbd_mr *mr;
#endif
struct cifs_credits credits;
-
-#if 0 // TODO: Remove following elements
- struct list_head list;
- struct completion done;
- struct work_struct work;
- struct cifsFileInfo *cfile;
- struct address_space *mapping;
- struct cifs_aio_ctx *ctx;
- enum writeback_sync_modes sync_mode;
- bool uncached;
- struct bio_vec *bv;
-#endif
};
/*