• G
    sysfs: remove BUG_ON() from sysfs_remove_group() · 969affd2
    Greg Kroah-Hartman 提交于
    It's possible that the caller of sysfs_remove_group messed up and passed in an attribute group that was not really registered to this kobject.  But don't panic for such a foolish error, spit out a warning about what happened, and continue on our way safely.
    
    Cc: Roland Dreier <rdreier@cisco.com>
    Cc: Tejun Heo <htejun@gmail.com>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
    969affd2
group.c 2.1 KB