[PATCH 0/2] ALSA: pcm: remove unused local commands

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux