Lines Matching refs:p
231 struct sound_unit *p=*list; in __sound_remove_unit() local
232 if(p->unit_minor==unit) in __sound_remove_unit()
234 *list=p->next; in __sound_remove_unit()
235 return p; in __sound_remove_unit()
237 list=&(p->next); in __sound_remove_unit()
311 struct sound_unit *p; in sound_remove_unit() local
314 p = __sound_remove_unit(list, unit); in sound_remove_unit()
316 if (p) { in sound_remove_unit()
318 __unregister_chrdev(SOUND_MAJOR, p->unit_minor, 1, in sound_remove_unit()
319 p->name); in sound_remove_unit()
320 device_destroy(sound_class, MKDEV(SOUND_MAJOR, p->unit_minor)); in sound_remove_unit()
321 kfree(p); in sound_remove_unit()