14 Jun
2017
14 Jun
'17
12:30 p.m.
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