projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
698e96a
)
Remove an already-checked error condition in SendReceiveBlockingLock
author
Volker Lendecke
<vl@samba.org>
Sat, 6 Dec 2008 15:40:40 +0000
(16:40 +0100)
committer
Steve French
<sfrench@us.ibm.com>
Fri, 26 Dec 2008 02:29:13 +0000
(
02:29
+0000)
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>
fs/cifs/transport.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/cifs/transport.c
b/fs/cifs/transport.c
index 7e10b13d130b6e0a7938039671cf6c26dbd266f9..7ebe6599ed3a07cb712d0f6e725277bb778e12f0 100644
(file)
--- 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;