if (class_dev->dev) 
if (class_dev->dev) { class_name = make_class_name(class_dev); 
void class_device_del(struct class_device *class_dev){	struct class * parent = class_dev->class;	struct class_interface * class_intf;	if (parent) {		down(&parent->sem);		list_del_init(&class_dev->node);		list_for_each_entry(class_intf, &parent->interfaces, node)			if (class_intf->remove)				class_intf->remove(class_dev);		up(&parent->sem);	}	if (class_dev->dev)		sysfs_remove_link(&class_dev->kobj, "device");	if (class_dev->devt_attr)		class_device_remove_file(class_dev, class_dev->devt_attr);	class_device_remove_attrs(class_dev);	kobject_hotplug(&class_dev->kobj, KOBJ_REMOVE);	kobject_del(&class_dev->kobj);	if (parent)		class_put(parent);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/76d1ce00bdd76c2987fbfb763cd40447413a55b3/class.c/buggy/drivers/base/class.c