login
Header Space

 
 

[PATCH 1/1] remove duplicate definition of sysfs_update_group()

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <gregkh@...>, <linux-kernel@...>
Date: Sunday, May 4, 2008 - 10:17 am

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@gmail.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

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/1] remove duplicate definition of sysfs_update_grou..., Dmitri Vorobiev, (Sun May 4, 10:17 am)
speck-geostationary