staging: most: core.c: remove semicolon at the end of define statement
authorChaehyun Lim <chaehyun.lim@gmail.com>
Mon, 27 Jul 2015 01:31:09 +0000 (10:31 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jul 2015 20:43:15 +0000 (13:43 -0700)
Remove semicolon at the end of define statement to fix checkpatch warning.
WARNING: macros should not use a trailing semicolon

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Acked-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/mostcore/core.c

index f4f903404f1bb85ef3c0858cfded163a49345025..98a4c900d1c2fa3b3611f96b5c30c8f8aa2707d0 100644 (file)
@@ -328,7 +328,7 @@ static ssize_t show_channel_starving(struct most_c_obj *c,
 
 
 #define create_show_channel_attribute(val) \
-       static MOST_CHNL_ATTR(val, S_IRUGO, show_##val, NULL);
+       static MOST_CHNL_ATTR(val, S_IRUGO, show_##val, NULL)
 
 create_show_channel_attribute(available_directions);
 create_show_channel_attribute(available_datatypes);
This page took 0.025669 seconds and 5 git commands to generate.