aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-04-22 15:33:41 -0400
committerTakashi Iwai <tiwai@suse.de>2015-04-24 11:31:04 -0400
commitb046d244e2290e3d114af2e91503ee3d08fc605a (patch)
treefc70f513324fd3bc1a729cb30df6094ea086a273 /include/sound
parent644dbd64dcf0939e9838132a72d2ec9489496eb8 (diff)
ALSA: core: Remove superfluous exit calls for proc entries
Since each proc entry is freed automatically by the parent, we don't have to take care of its life cycle any longer. This allows us to reduce a few more lines of codes. Acked-by: Jaroslav Kysela <perex@perex.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/core.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/sound/core.h b/include/sound/core.h
index b12931f513f4..cdfecafff0f4 100644
--- a/include/sound/core.h
+++ b/include/sound/core.h
@@ -224,16 +224,13 @@ void *snd_lookup_oss_minor_data(unsigned int minor, int type);
224#endif 224#endif
225 225
226int snd_minor_info_init(void); 226int snd_minor_info_init(void);
227int snd_minor_info_done(void);
228 227
229/* sound_oss.c */ 228/* sound_oss.c */
230 229
231#ifdef CONFIG_SND_OSSEMUL 230#ifdef CONFIG_SND_OSSEMUL
232int snd_minor_info_oss_init(void); 231int snd_minor_info_oss_init(void);
233int snd_minor_info_oss_done(void);
234#else 232#else
235static inline int snd_minor_info_oss_init(void) { return 0; } 233static inline int snd_minor_info_oss_init(void) { return 0; }
236static inline int snd_minor_info_oss_done(void) { return 0; }
237#endif 234#endif
238 235
239/* memory.c */ 236/* memory.c */
@@ -262,7 +259,6 @@ int snd_card_free_when_closed(struct snd_card *card);
262void snd_card_set_id(struct snd_card *card, const char *id); 259void snd_card_set_id(struct snd_card *card, const char *id);
263int snd_card_register(struct snd_card *card); 260int snd_card_register(struct snd_card *card);
264int snd_card_info_init(void); 261int snd_card_info_init(void);
265int snd_card_info_done(void);
266int snd_card_add_dev_attr(struct snd_card *card, 262int snd_card_add_dev_attr(struct snd_card *card,
267 const struct attribute_group *group); 263 const struct attribute_group *group);
268int snd_component_add(struct snd_card *card, const char *component); 264int snd_component_add(struct snd_card *card, const char *component);