class_simple_device_remove(MKDEV(major, minor)); 
class_device_destroy(sound_class, MKDEV(major, minor)); 
int snd_unregister_device(int type, snd_card_t * card, int dev){	int minor = snd_kernel_minor(type, card, dev);	snd_minor_t *mptr;	if (minor < 0)		return minor;	down(&sound_mutex);	if ((mptr = snd_minor_search(minor)) == NULL) {		up(&sound_mutex);		return -EINVAL;	}	if (strncmp(mptr->name, "controlC", 8) || card->number >= cards_limit) /* created in sound.c */		devfs_remove("snd/%s", mptr->name);	class_simple_device_remove(MKDEV(major, minor));	list_del(&mptr->list);	up(&sound_mutex);	kfree(mptr);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/619e666b7e9d2b0545ab60a9c824ae5f77c20c3b/sound.c/clean/sound/core/sound.c