public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Adrian Bunk <bunk@stusta.de>
Cc: perex@suse.cz, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Subject: Re: [Alsa-devel] [2.6 patch] ALSA core: misc cleanups
Date: Fri, 26 Nov 2004 11:38:07 +0100	[thread overview]
Message-ID: <s5hwtw8nbe8.wl@alsa2.suse.de> (raw)
In-Reply-To: <20041126002448.GM3537@stusta.de>

At Fri, 26 Nov 2004 01:24:48 +0100,
Adrian Bunk wrote:
> 
> 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 funxtions:
>   - oss/pcm_plugin.c: snd_pcm_plug_capture_channels_mask
>   - pcm_lib.c: snd_pcm_playback_ready
>   - pcm_lib.c: snd_pcm_capture_ready
>   - pcm_lib.c: snd_pcm_capture_empty
>   - pcm_misc.c: snd_pcm_format_cpu_endian
>   - pcm_misc.c: snd_pcm_format_size
>   - seq/seq_instr.c: snd_seq_cluster_new
>   - seq/seq_instr.c: snd_seq_cluster_free
>   - seq/seq_midi_event.c: snd_midi_event_init
>   - seq/seq_midi_event.c: snd_midi_event_resize_buffer
>   - seq/seq_virmidi.c: snd_virmidi_receive
> - remove the following unused EXPORT_SYMBOL's:
>   - snd_create_proc_entry
>   - snd_interval_ratden
>   - snd_midi_channel_init
>   - snd_midi_channel_init_set
>   - snd_midi_event_init
>   - snd_midi_event_resize_buffer
>   - snd_pcm_capture_empty
>   - snd_pcm_capture_poll
>   - snd_pcm_capture_ready
>   - snd_pcm_format_size
>   - snd_pcm_lib_preallocate_free
>   - snd_pcm_open
>   - snd_pcm_playback_poll
>   - snd_pcm_playback_ready
>   - snd_pcm_release
>   - snd_pcm_subformat_name
>   - snd_pcm_suspend
>   - snd_rawmidi_drain_input
>   - snd_rawmidi_drop_output
>   - snd_rawmidi_info
>   - snd_remove_proc_entry
>   - snd_timer_continue
>   - snd_timer_system_resolution
>   - snd_virmidi_receive

I disagree to remove all of these functions from the middle layer.
Some of them could be reduced, but others were once used, and might be
used in future, too.


Takashi

  reply	other threads:[~2004-11-27  6:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-26  0:24 [2.6 patch] ALSA core: misc cleanups Adrian Bunk
2004-11-26 10:38 ` Takashi Iwai [this message]
2004-11-28  3:23   ` [Alsa-devel] " Adrian Bunk
2004-11-29 14:16     ` Takashi Iwai
2004-12-01 11:19       ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hwtw8nbe8.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=bunk@stusta.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox