[PATCH] UBI: Remove in vain semicolon

Richard Weinberger richard at nod.at
Mon Oct 19 13:26:43 PDT 2015


...found while browsing.

Signed-off-by: Richard Weinberger <richard at nod.at>
---
 drivers/mtd/ubi/cdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/ubi/cdev.c b/drivers/mtd/ubi/cdev.c
index c5a1fa3..f09bc1b 100644
--- a/drivers/mtd/ubi/cdev.c
+++ b/drivers/mtd/ubi/cdev.c
@@ -949,7 +949,7 @@ static long ubi_cdev_ioctl(struct file *file, unsigned int cmd,
 		if (!req) {
 			err = -ENOMEM;
 			break;
-		};
+		}
 
 		err = copy_from_user(req, argp, sizeof(struct ubi_rnvol_req));
 		if (err) {
-- 
1.8.4.5




More information about the linux-mtd mailing list