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 48e3eec..5a22075 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