Return-path: Received: from eusmtp01.atmel.com ([212.144.249.242]:26457 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932898AbbKEFeJ (ORCPT ); Thu, 5 Nov 2015 00:34:09 -0500 From: Glen Lee To: CC: , , , , , , , , Subject: [PATCH RESEND 07/38] staging: wilc1000: remove return type of Handle_wait_msg_q_empty Date: Thu, 5 Nov 2015 14:36:08 +0900 Message-ID: <1446701799-24870-7-git-send-email-glen.lee@atmel.com> (sfid-20151105_063413_695180_2A734FF7) In-Reply-To: <1446701799-24870-1-git-send-email-glen.lee@atmel.com> References: <1446701799-24870-1-git-send-email-glen.lee@atmel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org List-ID: From: Leo Kim This patch changes return type of Handle_wait_msg_q_empty from s32 with void because return value is not used. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 9b986bb..8494a032 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -813,11 +813,10 @@ ERRORHANDLER: return result; } -static s32 Handle_wait_msg_q_empty(void) +static void Handle_wait_msg_q_empty(void) { g_wilc_initialized = 0; up(&hif_sema_wait_response); - return 0; } static s32 Handle_Scan(struct host_if_drv *hif_drv, -- 1.9.1