• Jaroslav Kysela's avatar
    [ALSA] ALSA core: misc cleanups · b55d2922
    Jaroslav Kysela authored
    HWDEP Midlevel,ALSA Core,PCM Midlevel,RawMidi Midlevel
    ALSA<-OSS emulation,ALSA sequencer,ALSA<-OSS sequencer
    The patch below does the following cleanups under sound/core/ :
    - make needlessly global code static
    - remove the following stale prototypes from pcm.h
      (the functions are not or no longer present):
      - snd_pcm_capture_ready_jiffies
      - snd_pcm_playback_ready_jiffies
    - remove the following unused global functions:
      - oss/pcm_plugin.c: snd_pcm_plug_capture_channels_mask
      - seq/seq_instr.c: snd_seq_cluster_new
      - seq/seq_instr.c: snd_seq_cluster_free
    - move global to static inline functions
      - pcm_lib.c: snd_pcm_playback_ready
      - pcm_lib.c: snd_pcm_capture_ready
      - pcm_lib.c: snd_pcm_playback_empty
      - pcm_lib.c: snd_pcm_capture_empty
      - pcm_lib.c: snd_pcm_playback_data
    - remove the following unused EXPORT_SYMBOL's:
      - snd_create_proc_entry
      - snd_interval_ratden
      - snd_midi_channel_init
      - snd_midi_channel_init_set
      - snd_pcm_playback_empty
      - snd_pcm_capture_empty
      - snd_pcm_playback_data
      - snd_pcm_capture_poll
      - snd_pcm_playback_ready
      - snd_pcm_capture_ready
      - snd_pcm_format_size
      - snd_pcm_open
      - snd_pcm_playback_poll
      - snd_pcm_playback_ready
      - snd_pcm_release
      - snd_pcm_subformat_name
      - snd_remove_proc_entry
    Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    b55d2922
info.h 6.57 KB