staging: wilc1000: coreconfigurator.c: removes unnecessary log messages
authorChris Park <chris.park@atmel.com>
Mon, 22 Feb 2016 04:12:00 +0000 (13:12 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Feb 2016 19:47:00 +0000 (11:47 -0800)
This patch removes unnecessary log messages.

Signed-off-by: Chris Park <chris.park@atmel.com>
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/coreconfigurator.c

index 3a7658617014897437d1a54fc1a76860f1aa9aac..25dc108784502ff58ba9441408e9d049afd40675 100644 (file)
@@ -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]);