[alsa-devel] [PATCH 0/2] ALSA: pcm: remove unused local commands
Takashi Sakamoto
o-takashi at sakamocchi.jp
Wed Jun 14 12:30:02 CEST 2017
Hi,
A callback of 'struct snd_pcm_ops.ioctl' is internally used for ALSA
pcm core to communicate to each drivers for some purposes; e.g. ask the
size of FIFO in handled devices. However, in 'include/sound/pcm.h',
there're some commands for the callback, which has never been used.
This commit removes the unused commands to prevent developers from
undocumented and unreferenced features.
Takashi Sakamoto (2):
ALSA: pcm: remove SNDRV_PCM_IOCTL1_INFO internal command
ALSA: pcm: remove SNDRV_PCM_IOCTL1_GSTATE internal command
include/sound/pcm.h | 4 ++--
sound/core/pcm_lib.c | 2 --
sound/core/pcm_native.c | 6 +-----
3 files changed, 3 insertions(+), 9 deletions(-)
--
2.11.0
More information about the Alsa-devel
mailing list