ALSA: pcm: remove SNDRV_PCM_IOCTL1_GSTATE internal command
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 14 Jun 2017 10:30:04 +0000 (19:30 +0900)
committerTakashi Iwai <tiwai@suse.de>
Wed, 14 Jun 2017 11:04:12 +0000 (13:04 +0200)
SNDRV_PCM_IOCTL1_GSTATE was firstly introduced in v0.9.0, however never
be used and the purpose is missing.

This commit removes the long-abandoned command, bye.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/pcm.h

index 48e3eecac86d7efbfd1ad53fc1c18f987f56fc06..5a22075c5fcf91a9f3d2000e82d9d2ef5a633c61 100644 (file)
@@ -104,7 +104,7 @@ struct snd_pcm_ops {
 #define SNDRV_PCM_IOCTL1_RESET         0
 /* 1 is absent slot. */
 #define SNDRV_PCM_IOCTL1_CHANNEL_INFO  2
-#define SNDRV_PCM_IOCTL1_GSTATE                3
+/* 3 is absent slot. */
 #define SNDRV_PCM_IOCTL1_FIFO_SIZE     4
 
 #define SNDRV_PCM_TRIGGER_STOP         0