lkml.org 
[lkml]   [2008]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/1] remove duplicate definition of sysfs_update_group()
Dmitri Vorobiev пишет:
> The stub version of the sysfs_update_group() function is erroneously
> provided twice. This patch removes the redundant definition.
>

Oops! I did not notice Ingo's fix when I was sending my patch:

http://lkml.org/lkml/2008/5/4/21

In Ingo's version, the changelog entry is much better than mine. Sorry
for the noise.

Dmitri

> 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)
> {

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2008-05-05 00:11    [W:0.028 / U:0.500 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site