diff options
| author | Alan Stern <[email protected]> | 2010-11-15 20:46:07 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2010-11-29 19:59:53 +0000 |
| commit | e030d58e8860f1c87b17631dbdd70747cbe1fb5b (patch) | |
| tree | 5eca982d7e71086db7e743eb575da019790b89bb /drivers/usb/core/buffer.c | |
| parent | driver-core: merge private parts of class and bus (diff) | |
| download | kernel-e030d58e8860f1c87b17631dbdd70747cbe1fb5b.tar.gz kernel-e030d58e8860f1c87b17631dbdd70747cbe1fb5b.zip | |
sysfs: remove useless test from sysfs_merge_group
Dan Carpenter pointed out that the new sysfs_merge_group() and
sysfs_unmerge_group() routines requires their grp argument to be
non-NULL, because they dereference grp to obtain the list of
attributes. Hence it's pointless for the routines to include a test
and special-case handling for when grp is NULL. This patch (as1433)
removes the unneeded tests.
Signed-off-by: Alan Stern <[email protected]>
CC: Dan Carpenter <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/core/buffer.c')
0 files changed, 0 insertions, 0 deletions
