Return-path: Received: from eusmtp01.atmel.com ([212.144.249.243]:30289 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1425347AbcBRLfR (ORCPT ); Thu, 18 Feb 2016 06:35:17 -0500 From: Leo Kim To: CC: , , , , , , , , , Chris Park Subject: [PATCH V2 15/24] staging: wilc1000: coreconfigurator.c: removes unnecessary log messages Date: Thu, 18 Feb 2016 20:30:15 +0900 Message-ID: <1455795024-26978-15-git-send-email-leo.kim@atmel.com> (sfid-20160218_123524_326079_CCB6EE28) In-Reply-To: <1455795024-26978-1-git-send-email-leo.kim@atmel.com> References: <1455795024-26978-1-git-send-email-leo.kim@atmel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org List-ID: From: Chris Park This patch removes unnecessary log messages. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c index 3a76586..25dc108 100644 --- a/drivers/staging/wilc1000/coreconfigurator.c +++ b/drivers/staging/wilc1000/coreconfigurator.c @@ -284,10 +284,8 @@ s32 wilc_parse_network_info(u8 *msg_buffer, msg_type = msg_buffer[0]; - if ('N' != msg_type) { - PRINT_ER("Received Message format incorrect.\n"); + if ('N' != msg_type) return -EFAULT; - } msg_id = msg_buffer[1]; msg_len = MAKE_WORD16(msg_buffer[2], msg_buffer[3]); -- 1.9.1