cifs: remove header_preamble_size where it is always 0
authorRonnie Sahlberg <lsahlber@redhat.com>
Fri, 1 Jun 2018 00:53:07 +0000 (10:53 +1000)
committerSteve French <stfrench@microsoft.com>
Fri, 1 Jun 2018 14:14:30 +0000 (09:14 -0500)
commit1fc6ad2f10ad6f597cbdb1f6f39b744ef3bb2ea6
treed4586f3fa9f0d75ab2f2feca3dd5a96853a82011
parent49f466bdbdf39543599185d8dac23dda8e5b0730
cifs: remove header_preamble_size where it is always 0

Since header_preamble_size is 0 for SMB2+ we can remove it in those
code paths that are only invoked from SMB2.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2misc.c
fs/cifs/smb2ops.c
fs/cifs/smb2pdu.c