Skip to content

Commit

Permalink
Remove an already-checked error condition in SendReceiveBlockingLock
Browse files Browse the repository at this point in the history
Remove an already-checked error condition in SendReceiveBlockingLock

Signed-off-by: Volker Lendecke <[email protected]>
Signed-off-by: Steve French <[email protected]>
  • Loading branch information
vlendec authored and Steve French committed Dec 26, 2008
1 parent 698e96a commit ac6a3ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fs/cifs/transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -1067,8 +1067,7 @@ SendReceiveBlockingLock(const unsigned int xid, struct cifsTconInfo *tcon,

/* rcvd frame is ok */

if ((midQ->resp_buf == NULL) || (out_buf == NULL)
|| (midQ->midState != MID_RESPONSE_RECEIVED)) {
if ((out_buf == NULL) || (midQ->midState != MID_RESPONSE_RECEIVED)) {
rc = -EIO;
cERROR(1, ("Bad MID state?"));
goto out;
Expand Down

0 comments on commit ac6a3ef

Please sign in to comment.