|SND_CARD_FILE_REMOVE(9)||Management of Cards and Device||SND_CARD_FILE_REMOVE(9)|
snd_card_file_remove - remove the file from the file list
int snd_card_file_remove(struct snd_card * card, struct file * file);
This function removes the file formerly added to the card via snd_card_file_add function. If all files are removed and snd_card_free_when_closed was called beforehand, it processes the pending release of resources.
Zero or a negative error code.
|January 2017||Kernel Hackers Manual 4.8.|