From: Greg Kroah-Hartman Date: Thu, 7 Feb 2008 16:58:54 +0000 (-0500) Subject: sysfs: remove BUG_ON() from sysfs_remove_group() X-Git-Tag: v2.6.25-rc1~293^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=969affd276dec81a35a5ad10d4e05e62e93b380b;p=pandora-kernel.git sysfs: remove BUG_ON() from sysfs_remove_group() 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 Cc: Tejun Heo Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed