From 3b9d7dca8b792cd8afc8605951fa3bfbc15a7dee Mon Sep 17 00:00:00 2001 From: Chris Park Date: Mon, 22 Feb 2016 13:12:00 +0900 Subject: [PATCH] staging: wilc1000: coreconfigurator.c: removes unnecessary log messages This patch removes unnecessary log messages. Signed-off-by: Chris Park Signed-off-by: Leo Kim Signed-off-by: Greg Kroah-Hartman --- 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 3a7658617014..25dc10878450 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]); -- 2.30.2