From: Chaehyun Lim Date: Mon, 27 Jul 2015 01:31:09 +0000 (+0900) Subject: staging: most: core.c: remove semicolon at the end of define statement X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=add04a9854106a724b9fbf8bc9925781e5b0059e;p=deliverable%2Flinux.git staging: most: core.c: remove semicolon at the end of define statement 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 Acked-by: Christian Gromm Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/most/mostcore/core.c b/drivers/staging/most/mostcore/core.c index f4f903404f1b..98a4c900d1c2 100644 --- a/drivers/staging/most/mostcore/core.c +++ b/drivers/staging/most/mostcore/core.c @@ -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);