staging: wilc1000: wilc_spi.c: removes debug print log
authorLeo Kim <leo.kim@atmel.com>
Tue, 15 Mar 2016 09:48:09 +0000 (18:48 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
This patches removes unnecessary debug print logs.

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

index d41b8b6..4268e2f 100644 (file)
@@ -196,9 +196,6 @@ static int wilc_spi_tx(struct wilc *wilc, u8 *b, u32 len)
                dev_err(&spi->dev,
                        "can't write data with the following length: %d\n",
                        len);
-               dev_err(&spi->dev,
-                       "FAILED due to NULL buffer or ZERO length check the following length: %d\n",
-                       len);
                ret = -EINVAL;
        }