[PATCH 0/5] ALSA: core: removing unused functions

linux@treblig.org posted 5 patches 9 months, 1 week ago
include/sound/core.h          |  1 -
include/sound/dmaengine_pcm.h |  2 --
include/sound/jack.h          |  6 ------
include/sound/pcm.h           |  2 --
sound/core/device.c           | 23 -----------------------
sound/core/jack.c             | 19 -------------------
sound/core/pcm_dmaengine.c    | 21 ---------------------
sound/core/pcm_misc.c         | 30 ------------------------------
sound/core/seq/seq_queue.c    | 16 ----------------
sound/core/seq/seq_queue.h    |  1 -
10 files changed, 121 deletions(-)
[PATCH 0/5] ALSA: core: removing unused functions
Posted by linux@treblig.org 9 months, 1 week ago
From: "Dr. David Alan Gilbert" <linux@treblig.org>

Hi,
  This is a small set of deadcode removal from sound/core;
they're all full function removal rather than changing the
code inside functions.

Dave

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>


Dr. David Alan Gilbert (5):
  ALSA: pcm: Remove unused snd_pcm_rate_range_to_bits
  ALSA: pcm: Remove unused snd_dmaengine_pcm_open_request_chan
  ALSA: seq: Remove unused snd_seq_queue_client_leave_cells
  ALSA: core: Remove unused snd_device_get_state
  ALSA: core: Remove unused snd_jack_set_parent

 include/sound/core.h          |  1 -
 include/sound/dmaengine_pcm.h |  2 --
 include/sound/jack.h          |  6 ------
 include/sound/pcm.h           |  2 --
 sound/core/device.c           | 23 -----------------------
 sound/core/jack.c             | 19 -------------------
 sound/core/pcm_dmaengine.c    | 21 ---------------------
 sound/core/pcm_misc.c         | 30 ------------------------------
 sound/core/seq/seq_queue.c    | 16 ----------------
 sound/core/seq/seq_queue.h    |  1 -
 10 files changed, 121 deletions(-)

-- 
2.49.0
Re: [PATCH 0/5] ALSA: core: removing unused functions
Posted by Takashi Iwai 9 months, 1 week ago
On Sat, 03 May 2025 01:52:14 +0200,
linux@treblig.org wrote:
> 
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
> 
> Hi,
>   This is a small set of deadcode removal from sound/core;
> they're all full function removal rather than changing the
> code inside functions.
> 
> Dave
> 
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
> 
> 
> Dr. David Alan Gilbert (5):
>   ALSA: pcm: Remove unused snd_pcm_rate_range_to_bits
>   ALSA: pcm: Remove unused snd_dmaengine_pcm_open_request_chan
>   ALSA: seq: Remove unused snd_seq_queue_client_leave_cells
>   ALSA: core: Remove unused snd_device_get_state
>   ALSA: core: Remove unused snd_jack_set_parent

Applied all patches now to for-next branch.  Thanks.


Takashi