Return-path: Received: from eusmtp01.atmel.com ([212.144.249.243]:7263 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753121AbbKBIs7 (ORCPT ); Mon, 2 Nov 2015 03:48:59 -0500 From: Glen Lee To: CC: , , , , , , , , Subject: [PATCH 07/38] staging: wilc1000: remove return type of Handle_wait_msg_q_empty Date: Mon, 2 Nov 2015 17:50:50 +0900 Message-ID: <1446454281-22484-7-git-send-email-glen.lee@atmel.com> (sfid-20151102_094904_030502_F90B3F84) In-Reply-To: <1446454281-22484-1-git-send-email-glen.lee@atmel.com> References: <1446454281-22484-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 6abba23..584f718 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -835,11 +835,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