media: si4713: remove trailing semicolon in macro definition
authorTom Rix <trix@redhat.com>
Fri, 27 Nov 2020 16:44:08 +0000 (17:44 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 3 Dec 2020 07:54:13 +0000 (08:54 +0100)
The macro use will already have a semicolon.

[hverkuil: also add () around p in the macro]

Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/radio/si4713/si4713.c

index 6afa7c3464ab2be6711c49cc8fda9caef579e3e7..adbf43ff6a21ed1c00a2f3fb5112f7d2e0d24202 100644 (file)
@@ -86,7 +86,7 @@ MODULE_VERSION("0.0.1");
 #define check_command_failed(status)   (!(status & SI4713_CTS) || \
                                        (status & SI4713_ERR))
 /* mute definition */
-#define set_mute(p)    ((p & 1) | ((p & 1) << 1));
+#define set_mute(p)    (((p) & 1) | (((p) & 1) << 1))
 
 #ifdef DEBUG
 #define DBG_BUFFER(device, message, buffer, size)                      \