[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1576741160-121471-1-git-send-email-mafeng.ma@huawei.com>
Date: Thu, 19 Dec 2019 15:39:20 +0800
From: Ma Feng <mafeng.ma@...wei.com>
To: Mike Isely <isely@...ox.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>
CC: <linux-media@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH] media: pvrusb2: Remove unneeded semicolon and add newline
Fixes coccicheck warning:
drivers/media/usb/pvrusb2/pvrusb2-encoder.c:288:2-3: Unneeded semicolon
Reported-by: Hulk Robot <hulkci@...wei.com>
Signed-off-by: Ma Feng <mafeng.ma@...wei.com>
---
drivers/media/usb/pvrusb2/pvrusb2-encoder.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/media/usb/pvrusb2/pvrusb2-encoder.c b/drivers/media/usb/pvrusb2/pvrusb2-encoder.c
index fb3178d..69a62ea 100644
--- a/drivers/media/usb/pvrusb2/pvrusb2-encoder.c
+++ b/drivers/media/usb/pvrusb2/pvrusb2-encoder.c
@@ -285,7 +285,8 @@ rdData[0]);
ret = pvr2_encoder_write_words(hdw,MBOX_BASE,wrData,1);
break;
- }; LOCK_GIVE(hdw->ctl_lock);
+ }
+ LOCK_GIVE(hdw->ctl_lock);
return ret;
}
--
2.6.2
Powered by blists - more mailing lists