diff mbox series

media: pvrusb2: Remove unneeded semicolon and add newline

Message ID 1576741160-121471-1-git-send-email-mafeng.ma@huawei.com
State New, archived
Headers show
Series media: pvrusb2: Remove unneeded semicolon and add newline | expand

Commit Message

Ma Feng Dec. 19, 2019, 7:39 a.m. UTC
Fixes coccicheck warning:

drivers/media/usb/pvrusb2/pvrusb2-encoder.c:288:2-3: Unneeded semicolon

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Ma Feng <mafeng.ma@huawei.com>
---
 drivers/media/usb/pvrusb2/pvrusb2-encoder.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--
2.6.2
diff mbox series

Patch

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;
 }