From: Fengguang Wu Date: Fri, 20 Dec 2013 10:16:47 +0000 (-0300) Subject: [media] fix coccinelle warnings X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=12d1ee1f2df0ee56441a76a0ad0984936b046aa8;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [media] fix coccinelle warnings drivers/staging/media/bcm2048/radio-bcm2048.c:2255:3-4: Unneeded semicolon Removes unneeded semicolon. Generated by: coccinelle/misc/semicolon.cocci CC: Hans Verkuil CC: Mauro Carvalho Chehab Signed-off-by: Fengguang Wu Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/media/bcm2048/radio-bcm2048.c b/drivers/staging/media/bcm2048/radio-bcm2048.c index 9344daef4d64..b2cd3a85166d 100644 --- a/drivers/staging/media/bcm2048/radio-bcm2048.c +++ b/drivers/staging/media/bcm2048/radio-bcm2048.c @@ -2252,7 +2252,7 @@ static ssize_t bcm2048_fops_read(struct file *file, char __user *buf, if (copy_to_user(buf+i, tmpbuf, 3)) { retval = -EFAULT; break; - }; + } i += 3; }