cifs: Remove redundant multiplex identifier check from check_smb_hdr()
authorTim Gardner <timg@tpi.com>
Wed, 16 Oct 2013 15:09:49 +0000 (09:09 -0600)
committerSteve French <smfrench@gmail.com>
Mon, 28 Oct 2013 14:31:36 +0000 (09:31 -0500)
commit944d6f1a5b8f42a780a65378e5f52bea3ae0ce07
treedbb65a46368cee19de7f885c5f470d3bb976e064
parent34f626406c09dd45878ce75170abab342985ec24
cifs: Remove redundant multiplex identifier check from check_smb_hdr()

The only call site for check_smb_header() assigns 'mid' from the SMB
packet, which is then checked again in check_smb_header(). This seems
like redundant redundancy.

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Tim Gardner <timg@tpi.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/misc.c