summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorzhengbin <zhengbin13@huawei.com>2019-11-28 04:14:12 +0100
committerMiquel Raynal <miquel.raynal@bootlin.com>2020-01-21 20:00:16 +0100
commit73b265ae7bdbb5f4ce13b2afc53afa7c14cd0980 (patch)
tree6d06613d7b767d37e1f0fefd720929ff494cd9d3 /drivers/mtd
parentmtd: onenand: samsung: remove set but not used variable (diff)
downloadlinux-73b265ae7bdbb5f4ce13b2afc53afa7c14cd0980.tar.xz
linux-73b265ae7bdbb5f4ce13b2afc53afa7c14cd0980.zip
mtd: rawnand: mpc5121: Remove unneeded semicolon
Fixes coccicheck warning: drivers/mtd/nand/raw/mpc5121_nfc.c:441:2-3: Unneeded semicolon Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: zhengbin <zhengbin13@huawei.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/raw/mpc5121_nfc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/raw/mpc5121_nfc.c b/drivers/mtd/nand/raw/mpc5121_nfc.c
index 8b90def6686f..a2fcb739e5f8 100644
--- a/drivers/mtd/nand/raw/mpc5121_nfc.c
+++ b/drivers/mtd/nand/raw/mpc5121_nfc.c
@@ -438,7 +438,7 @@ static void mpc5121_nfc_copy_spare(struct mtd_info *mtd, uint offset,
buffer += blksize;
offset += blksize;
size -= blksize;
- };
+ }
}
/* Copy data from/to NFC main and spare buffers */