diff options
author | Volker Lendecke <vl@samba.org> | 2008-12-06 16:40:40 +0100 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-12-26 02:29:13 +0000 |
commit | ac6a3ef405f314c206906463ca9913a826a577ee (patch) | |
tree | c116ad2faf0fb63f9b0355e17e2bdfdfd832686e /fs/cifs | |
parent | 698e96a826939bb24063f6a61801c174e19c32b1 (diff) | |
download | linux-3.10-ac6a3ef405f314c206906463ca9913a826a577ee.tar.gz linux-3.10-ac6a3ef405f314c206906463ca9913a826a577ee.tar.bz2 linux-3.10-ac6a3ef405f314c206906463ca9913a826a577ee.zip |
Remove an already-checked error condition in SendReceiveBlockingLock
Remove an already-checked error condition in SendReceiveBlockingLock
Signed-off-by: Volker Lendecke <vl@samba.org>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/transport.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/cifs/transport.c b/fs/cifs/transport.c index 7e10b13d130..7ebe6599ed3 100644 --- a/fs/cifs/transport.c +++ b/fs/cifs/transport.c @@ -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; |