staging: wilc1000: wilc_spi: Remove unnecessary blank lines
authorNamrata A Shettar <namrataashettar@gmail.com>
Fri, 30 Sep 2016 13:45:05 +0000 (19:15 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 2 Oct 2016 15:19:51 +0000 (17:19 +0200)
Remove unnecessary blank lines to resolve checkpatch issue.

Signed-off-by: Namrata A Shettar <namrataashettar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_spi.c

index d865fb1dde1f291a74ecc4f57868892dde8f02c0..f08cf6d9e1aff1a6d63c4db380141396ad1a61f6 100644 (file)
@@ -544,7 +544,6 @@ static int spi_cmd_complete(struct wilc *wilc, u8 cmd, u32 adr, u8 *b, u32 sz,
                                        }
                                }
 
-
                                ix += nbytes;
                                sz -= nbytes;
                        }
@@ -580,7 +579,6 @@ static int spi_cmd_complete(struct wilc *wilc, u8 cmd, u32 adr, u8 *b, u32 sz,
                                if (result == N_FAIL)
                                        break;
 
-
                                /**
                                 * Read bytes
                                 **/
@@ -680,7 +678,6 @@ static int spi_data_write(struct wilc *wilc, u8 *b, u32 sz)
                sz -= nbytes;
        } while (sz);
 
-
        return result;
 }
 
@@ -843,7 +840,6 @@ static int wilc_spi_init(struct wilc *wilc, bool resume)
        static int isinit;
 
        if (isinit) {
-
                if (!wilc_spi_read_reg(wilc, 0x1000, &chipid)) {
                        dev_err(&spi->dev, "Fail cmd read chip id...\n");
                        return 0;
@@ -883,7 +879,6 @@ static int wilc_spi_init(struct wilc *wilc, bool resume)
                g_spi.crc_off = 1;
        }
 
-
        /**
         *      make sure can read back chip id correctly
         **/
@@ -924,14 +919,10 @@ static int wilc_spi_read_size(struct wilc *wilc, u32 *size)
                *size = tmp;
        }
 
-
-
 _fail_:
        return ret;
 }
 
-
-
 static int wilc_spi_read_int(struct wilc *wilc, u32 *int_status)
 {
        struct spi_device *spi = to_spi_device(wilc->dev);
@@ -986,7 +977,6 @@ static int wilc_spi_read_int(struct wilc *wilc, u32 *int_status)
                }
 
                *int_status = tmp;
-
        }
 
 _fail_: