Fixes coccicheck warning: drivers/media/usb/pvrusb2/pvrusb2-encoder.c:288:2-3: Unneeded semicolon Reported-by: Hulk Robot <hulkci@xxxxxxxxxx> Signed-off-by: Ma Feng <mafeng.ma@xxxxxxxxxx> --- 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