Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1234334

[PATCH 2/2] drivers: staging: wilc1000: wilc_msgqueue.c: Remove code that no effect

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Chandra S Gorentla <csgorentla@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 2/2] drivers: staging: wilc1000: wilc_msgqueue.c: Remove code that no effect
Date Mon, 28 Sep 2015 20:20:01 +0200
Message-ID <qdLbP-7cd-1@gated-at.bofh.it> (permalink)
References <qdLbP-7cd-3@gated-at.bofh.it>
X-Original-To gregkh@linuxfoundation.org
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=iNUtP4+DEUYL+kHpqsnuzswOaNfB8gNjVochp5DlKis=; b=V1i82CCRCeruPT0nIqVyfTbGwA43XzwAhwUrZb48HQ83ZdGnoxb19AzTliMj7n8o8g TxODHDKl6L95SCV8hVMieXtPqrcoep8WXiiVOTnD5Qux7yXpqw85zJXgxnY9fEsu2KGi McT3tu8cLrcQq5W/tX35UbLPjjXyhVIp0cYGsKCagTG/AaeTR3A7U8c0PZ+vvyM06Kfz 2/S4k+Jg/wbMJvElO+DK+Sr1FLJWkD7Ck5a6y4o8sBZDQDU5AUtyWuQBucrnKtpsKFar fYXboaio5m3XzPmI2mR9GABxReXIn91/62mZb3JXF6Glt/2dHOlSucuks2F2vlTtuORn Y1NA==
X-Received by 10.66.141.199 with SMTP id rq7mr28086425pab.140.1443464071194; Mon, 28 Sep 2015 11:14:31 -0700 (PDT)
X-Mailer git-send-email 2.1.4
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 29
Organization linux.* mail to news gateway
X-Original-Cc dan.carpenter@oracle.com, johnny.kim@atmel.com, rachel.kim@atmel.com, dean.lee@atmel.com, chris.park@atmel.com, linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, sudipm.mukherjee@gmail.com, Chandra S Gorentla <csgorentla@gmail.com>
X-Original-Date Mon, 28 Sep 2015 23:43:56 +0530
X-Original-Message-ID <1443464037-3591-2-git-send-email-csgorentla@gmail.com>
X-Original-References <1443464037-3591-1-git-send-email-csgorentla@gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1234334

Show key headers only | View raw


Signed-off-by: Chandra S Gorentla <csgorentla@gmail.com>
---
 drivers/staging/wilc1000/wilc_msgqueue.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/staging/wilc1000/wilc_msgqueue.c b/drivers/staging/wilc1000/wilc_msgqueue.c
index a01ada4..1a411d3 100644
--- a/drivers/staging/wilc1000/wilc_msgqueue.c
+++ b/drivers/staging/wilc1000/wilc_msgqueue.c
@@ -133,11 +133,6 @@ int wilc_mq_recv(WILC_MsgQueueHandle *pHandle,
 	down(&pHandle->hSem);
 
 	/* other non-timeout scenarios */
-	if (result) {
-		PRINT_ER("Non-timeout\n");
-		return result;
-	}
-
 	if (pHandle->bExiting) {
 		PRINT_ER("pHandle fail\n");
 		return -EFAULT;
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 2/2] drivers: staging: wilc1000: wilc_msgqueue.c: Remove code that no effect Chandra S Gorentla <csgorentla@gmail.com> - 2015-09-28 20:20 +0200
  [PATCH 2/2] drivers: staging: wilc1000: wilc_msgqueue.c: Remove ineffective code Chandra S Gorentla <csgorentla@gmail.com> - 2015-09-28 20:20 +0200
  Re: [PATCH 2/2] drivers: staging: wilc1000: wilc_msgqueue.c: Remove  code that no effect Chandra Gorentla <csgorentla@gmail.com> - 2015-09-28 20:40 +0200
    Re: [PATCH 2/2] drivers: staging: wilc1000: wilc_msgqueue.c: Remove  code that no effect Greg KH <gregkh@linuxfoundation.org> - 2015-09-29 03:30 +0200

csiph-web