[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1209910666-7918-1-git-send-email-dmitri.vorobiev@gmail.com>
Date: Sun, 4 May 2008 18:17:46 +0400
From: Dmitri Vorobiev <dmitri.vorobiev@...il.com>
To: gregkh@...e.de, linux-kernel@...r.kernel.org
Subject: [PATCH 1/1] remove duplicate definition of sysfs_update_group()
The stub version of the sysfs_update_group() function is erroneously
provided twice. This patch removes the redundant definition.
Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@...il.com>
---
include/linux/sysfs.h | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h
index 27bad59..7858eac 100644
--- a/include/linux/sysfs.h
+++ b/include/linux/sysfs.h
@@ -196,12 +196,6 @@ static inline int sysfs_update_group(struct kobject *kobj,
return 0;
}
-static inline int sysfs_update_group(struct kobject *kobj,
- const struct attribute_group *grp)
-{
- return 0;
-}
-
static inline void sysfs_remove_group(struct kobject *kobj,
const struct attribute_group *grp)
{
--
1.5.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists