diff options
author | Eva Rachel Retuya <eraretuya@gmail.com> | 2015-10-23 01:07:39 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-24 18:33:17 -0700 |
commit | 1a25d6da550319dd2d483b5043a416fd12b32aca (patch) | |
tree | f7291ffa7f0884a227848d860b2bbd0b80d60e85 /drivers/staging/mt29f_spinand | |
parent | 522f005082ff480da44353e97ce44b308f803ff0 (diff) |
Staging: mt29f_spinand: Remove blank line before '}' and after '{' braces
Remove unneeded blank lines preceding/following '}' and '{' braces, as
pointed out by checkpatch.
This patch addresses the following checkpatch checks:
CHECK: Blank lines aren't necessary before a close brace '}'
CHECK: Blank lines aren't necessary after an open brace '{'
Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/mt29f_spinand')
-rw-r--r-- | drivers/staging/mt29f_spinand/mt29f_spinand.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/mt29f_spinand/mt29f_spinand.c b/drivers/staging/mt29f_spinand/mt29f_spinand.c index dc9877efe127..c00749ed6da0 100644 --- a/drivers/staging/mt29f_spinand/mt29f_spinand.c +++ b/drivers/staging/mt29f_spinand/mt29f_spinand.c @@ -660,7 +660,6 @@ static int spinand_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, } } return 0; - } #endif @@ -711,7 +710,6 @@ static int spinand_wait(struct mtd_info *mtd, struct nand_chip *chip) static void spinand_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) { - struct spinand_state *state = mtd_to_state(mtd); memcpy(state->buf + state->buf_ptr, buf, len); |