ieee802154: wpan-class: fix trailing semicolon
authorAlexander Aring <alex.aring@gmail.com>
Sat, 25 Oct 2014 03:25:12 +0000 (05:25 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 25 Oct 2014 06:07:30 +0000 (08:07 +0200)
This patch removes an unnecessary tailing semicolon after macro
define. Otherwise we get a trailing semicolon while using this macro.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/ieee802154/wpan-class.c

index 9a2dfab..e4c6fb3 100644 (file)
@@ -33,7 +33,7 @@ static ssize_t name ## _show(struct device *dev,                      \
        mutex_unlock(&phy->pib_lock);                                   \
        return ret;                                                     \
 }                                                                      \
-static DEVICE_ATTR_RO(name);
+static DEVICE_ATTR_RO(name)
 
 #define MASTER_SHOW(field, format_string)                              \
        MASTER_SHOW_COMPLEX(field, format_string, phy->field)