ALSA: pci: Drop superfluous ioctl PCM ops
PCM core deals the empty ioctl field now as default(*).
Let's kill the redundant lines.
(*) commit fc033cbf6f
("ALSA: pcm: Allow NULL ioctl ops")
Link: https://lore.kernel.org/r/20191210061145.24641-16-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
@@ -807,7 +807,6 @@ static snd_pcm_uframes_t pcm_pointer(struct snd_pcm_substream *substream)
|
||||
static const struct snd_pcm_ops analog_playback_ops = {
|
||||
.open = pcm_analog_out_open,
|
||||
.close = pcm_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = pcm_analog_out_hw_params,
|
||||
.hw_free = pcm_hw_free,
|
||||
.prepare = pcm_prepare,
|
||||
@@ -817,7 +816,6 @@ static const struct snd_pcm_ops analog_playback_ops = {
|
||||
static const struct snd_pcm_ops analog_capture_ops = {
|
||||
.open = pcm_analog_in_open,
|
||||
.close = pcm_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = pcm_analog_in_hw_params,
|
||||
.hw_free = pcm_hw_free,
|
||||
.prepare = pcm_prepare,
|
||||
@@ -829,7 +827,6 @@ static const struct snd_pcm_ops analog_capture_ops = {
|
||||
static const struct snd_pcm_ops digital_playback_ops = {
|
||||
.open = pcm_digital_out_open,
|
||||
.close = pcm_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = pcm_digital_out_hw_params,
|
||||
.hw_free = pcm_hw_free,
|
||||
.prepare = pcm_prepare,
|
||||
@@ -840,7 +837,6 @@ static const struct snd_pcm_ops digital_playback_ops = {
|
||||
static const struct snd_pcm_ops digital_capture_ops = {
|
||||
.open = pcm_digital_in_open,
|
||||
.close = pcm_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = pcm_digital_in_hw_params,
|
||||
.hw_free = pcm_hw_free,
|
||||
.prepare = pcm_prepare,
|
||||
|
Reference in New Issue
Block a user