OSDN Git Service

media: s5k5baf: remove trailing semicolon in macro definition
authorTom Rix <trix@redhat.com>
Fri, 27 Nov 2020 16:41:23 +0000 (17:41 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 6 Apr 2021 12:30:15 +0000 (14:30 +0200)
The macro use will already have a semicolon.

Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/s5k5baf.c

index ec6f22e..6e702b5 100644 (file)
@@ -510,7 +510,7 @@ static void s5k5baf_write_arr_seq(struct s5k5baf *state, u16 addr,
 
 #define s5k5baf_write_seq(state, addr, seq...) \
        s5k5baf_write_arr_seq(state, addr, sizeof((char[]){ seq }), \
-                             (const u16 []){ seq });
+                             (const u16 []){ seq })
 
 /* add items count at the beginning of the list */
 #define NSEQ(seq...) sizeof((char[]){ seq }), seq