cifs: clean up checks in cifs_echo_request
authorJeff Layton <jlayton@redhat.com>
Wed, 9 Feb 2011 17:01:42 +0000 (12:01 -0500)
committerSteve French <sfrench@us.ibm.com>
Thu, 10 Feb 2011 03:44:20 +0000 (03:44 +0000)
commit195291e68c2ad59a046fc56d32bf59635b100e5c
tree7473861bc9894324f5828ac55c40db75c7f27142
parent7e90d705fc9f8c5e3a1549281dce0654d049243b
cifs: clean up checks in cifs_echo_request

Follow-on patch to 7e90d705 which is already in Steve's tree...

The check for tcpStatus == CifsGood is not meaningful since it doesn't
indicate whether the NEGOTIATE request has been done. Also, clarify
why we're checking for maxBuf == 0.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/connect.c