Browse Source

staging: wilc1000: wilc_spi: Remove unnecessary blank lines

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>
Namrata A Shettar 9 years ago
parent
commit
8d3496c393
1 changed files with 0 additions and 10 deletions
  1. 0 10
      drivers/staging/wilc1000/wilc_spi.c

+ 0 - 10
drivers/staging/wilc1000/wilc_spi.c

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