summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-09-11 22:29:03 -0400
committerMaciej Wereski <m.wereski@partner.samsung.com>2015-03-23 18:33:32 +0100
commit46231b85ef06abec6dcedfc0c23da821ffff52fb (patch)
treed277c50a447805342caacec233cf244e00a16ca6
parentb18358cafdfa879b78de0b6b1bf8d43b1fb824d4 (diff)
downloadlinux-3.10-46231b85ef06abec6dcedfc0c23da821ffff52fb.tar.gz
linux-3.10-46231b85ef06abec6dcedfc0c23da821ffff52fb.tar.bz2
linux-3.10-46231b85ef06abec6dcedfc0c23da821ffff52fb.zip
sysfs: drop semicolon from to_sysfs_dirent() definition
The expansion of to_sysfs_dirent() contains an unncessary trailing semicolon making it impossible to use in the middle of statements. Drop it. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--fs/sysfs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sysfs/dir.c b/fs/sysfs/dir.c
index 18c93886ca2..af93f237a18 100644
--- a/fs/sysfs/dir.c
+++ b/fs/sysfs/dir.c
@@ -28,7 +28,7 @@
DEFINE_MUTEX(sysfs_mutex);
DEFINE_SPINLOCK(sysfs_assoc_lock);
-#define to_sysfs_dirent(X) rb_entry((X), struct sysfs_dirent, s_rb);
+#define to_sysfs_dirent(X) rb_entry((X), struct sysfs_dirent, s_rb)
static DEFINE_SPINLOCK(sysfs_ino_lock);
static DEFINE_IDA(sysfs_ino_ida);