[CIFS] fix static checker warning
authorSteve French <smfrench@gmail.com>
Wed, 26 Jun 2013 22:52:17 +0000 (17:52 -0500)
committerSteve French <smfrench@gmail.com>
Wed, 26 Jun 2013 22:52:17 +0000 (17:52 -0500)
commit84ceeb9626655ce7c2745f724571ca8008b4695e
treed48ed4839aa5f74017cc0b9a11c208053ba331b6
parent52dfb446dbc1915e1df89f8ea9cae1fee7ab3d5e
[CIFS] fix static checker warning

Dan Carpenter wrote:

The patch 7f420cee8bd6: "[CIFS] Charge at least one credit, if server
says that it supports multicredit" from Jun 23, 2013, leads to the
following Smatch complaint:

fs/cifs/smb2pdu.c:120 smb2_hdr_assemble()
         warn: variable dereferenced before check 'tcon->ses' (see line 115)

CC: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/smb2pdu.c