Commit ac6a3ef4 authored by Volker Lendecke's avatar Volker Lendecke Committed by Steve French

Remove an already-checked error condition in SendReceiveBlockingLock

Remove an already-checked error condition in SendReceiveBlockingLock
Signed-off-by: default avatarVolker Lendecke <vl@samba.org>
Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent 698e96a8
...@@ -1067,8 +1067,7 @@ SendReceiveBlockingLock(const unsigned int xid, struct cifsTconInfo *tcon, ...@@ -1067,8 +1067,7 @@ SendReceiveBlockingLock(const unsigned int xid, struct cifsTconInfo *tcon,
/* rcvd frame is ok */ /* rcvd frame is ok */
if ((midQ->resp_buf == NULL) || (out_buf == NULL) if ((out_buf == NULL) || (midQ->midState != MID_RESPONSE_RECEIVED)) {
|| (midQ->midState != MID_RESPONSE_RECEIVED)) {
rc = -EIO; rc = -EIO;
cERROR(1, ("Bad MID state?")); cERROR(1, ("Bad MID state?"));
goto out; goto out;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment