Loading fs/sysfs/inode.c +1 −2 Original line number Diff line number Diff line Loading @@ -175,8 +175,7 @@ const unsigned char * sysfs_get_name(struct sysfs_dirent *sd) struct bin_attribute * bin_attr; struct sysfs_symlink * sl; if (!sd || !sd->s_element) BUG(); BUG_ON(!sd || !sd->s_element); switch (sd->s_type) { case SYSFS_DIR: Loading Loading
fs/sysfs/inode.c +1 −2 Original line number Diff line number Diff line Loading @@ -175,8 +175,7 @@ const unsigned char * sysfs_get_name(struct sysfs_dirent *sd) struct bin_attribute * bin_attr; struct sysfs_symlink * sl; if (!sd || !sd->s_element) BUG(); BUG_ON(!sd || !sd->s_element); switch (sd->s_type) { case SYSFS_DIR: Loading