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] sound/core/: possible cleanups
Date: Wed, 18 May 2005 18:14:18 +0200	[thread overview]
Message-ID: <s5h3bskse91.wl@alsa2.suse.de> (raw)
In-Reply-To: <20050518085800.GQ5112@stusta.de>

At Wed, 18 May 2005 10:58:00 +0200,
Adrian Bunk wrote:
> 
> This patch contains the following possible cleanups:
> - make needlessly global code static
> - #if 0 the following unused global functions:
>   - pcm_lib.c: snd_pcm_hw_param_any
>   - pcm_lib.c: snd_pcm_hw_params_any
>   - pcm_lib.c: snd_pcm_hw_param_setinteger

Ack.

>   - pcm_misc.c: snd_pcm_format_cpu_endian
>   - pcm_misc.c: snd_pcm_format_size

They are used by drivers which are not merged to kernel yet.
Anyway, I moved the former one to a macro, and export the latter.

>   - 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

Ack.

>   - timer.c: snd_timer_system_resolution

This one can be killed.  The value is defined in the timer
definition.

> - remove the following unneeded EXPORT_SYMBOL's:
>   - pcm_lib.c: snd_interval_muldivk
>   - pcm_lib.c: snd_interval_mulkdiv
>   - pcm_lib.c: snd_interval_div
>   - pcm_lib.c: snd_pcm_hw_params
>   - pcm.c: snd_pcm_start

Ack.

>   - pcm.c: snd_pcm_suspend

I'd like to keep it global.

>   - rawmidi.c: snd_rawmidi_drop_output
>   - rawmidi.c: snd_rawmidi_drain_input
>   - rawmidi.c: snd_rawmidi_info

Let's keep them.  Rawmidi can be referred from out-of-kernel drivers.

>   - seq/seq_midi_event.c: snd_midi_event_resize_buffer
>   - seq/seq_midi_event.c: snd_midi_event_init
>   - seq/seq_virmidi.c: snd_virmidi_receive

Ack.

>   - timer.c: snd_timer_continue

Let's keep this, too.  This might be referred.

>   - timer.c: snd_timer_system_resolution
>   - sound.c: snd_device_free_all

Ack.


I'll fix the above on ALSA tree.


Thanks.


Takashi

      reply	other threads:[~2005-05-18 16:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-18  8:58 [2.6 patch] sound/core/: possible cleanups Adrian Bunk
2005-05-18 16:14 ` Takashi Iwai [this message]

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=s5h3bskse91.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