From: Volker Lendecke Date: Sat, 6 Dec 2008 15:40:40 +0000 (+0100) Subject: Remove an already-checked error condition in SendReceiveBlockingLock X-Git-Tag: MMI-PSA29.97-13-9~30475^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ac6a3ef405f314c206906463ca9913a826a577ee;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Remove an already-checked error condition in SendReceiveBlockingLock Remove an already-checked error condition in SendReceiveBlockingLock Signed-off-by: Volker Lendecke Signed-off-by: Steve French --- diff --git a/fs/cifs/transport.c b/fs/cifs/transport.c index 7e10b13d130b..7ebe6599ed3a 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;