diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2018-06-01 02:53:06 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-06-01 16:14:30 +0200 |
commit | 49f466bdbdf39543599185d8dac23dda8e5b0730 (patch) | |
tree | 6f47dde9b30d8cf81e0dfeb93aa5b5a9975fc911 /fs/cifs/smb2glob.h | |
parent | CIFS: 511c54a2f69195b28afb9dd119f03787b1625bb4 adds a check for session expir... (diff) | |
download | linux-49f466bdbdf39543599185d8dac23dda8e5b0730.tar.xz linux-49f466bdbdf39543599185d8dac23dda8e5b0730.zip |
cifs: remove struct smb2_hdr
struct smb2_hdr is now just a wrapper for smb2_sync_hdr.
We can thus get rid of smb2_hdr completely and access the sync header directly.
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2glob.h')
-rw-r--r-- | fs/cifs/smb2glob.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/cifs/smb2glob.h b/fs/cifs/smb2glob.h index 401a5d856636..0ffa18094335 100644 --- a/fs/cifs/smb2glob.h +++ b/fs/cifs/smb2glob.h @@ -61,9 +61,4 @@ /* Maximum buffer size value we can send with 1 credit */ #define SMB2_MAX_BUFFER_SIZE 65536 -static inline struct smb2_sync_hdr *get_sync_hdr(void *buf) -{ - return &(((struct smb2_hdr *)buf)->sync_hdr); -} - #endif /* _SMB2_GLOB_H */ |