diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-05-17 16:15:45 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-05-17 17:05:39 +0300 |
commit | e8bfa15fefcd863c757240b6df15ca60d9b97997 (patch) | |
tree | 2015a5765607a606ee5c135c121a75c2d6a12fe5 /sound/usb/usx2y/usbusx2yaudio.c | |
parent | 2ac7a12ead2be2e31bd5e796455bef31e8516845 (diff) | |
download | linux-e8bfa15fefcd863c757240b6df15ca60d9b97997.tar.xz |
ALSA: usx2y: Nuke pcm_list
It's nowhere actually used.
Link: https://lore.kernel.org/r/20210517131545.27252-12-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/usx2y/usbusx2yaudio.c')
-rw-r--r-- | sound/usb/usx2y/usbusx2yaudio.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/usb/usx2y/usbusx2yaudio.c b/sound/usb/usx2y/usbusx2yaudio.c index a2eeca9548f1..6154662d3097 100644 --- a/sound/usb/usx2y/usbusx2yaudio.c +++ b/sound/usb/usx2y/usbusx2yaudio.c @@ -1017,9 +1017,7 @@ static int usx2y_audio_stream_new(struct snd_card *card, int playback_endpoint, */ int usx2y_audio_create(struct snd_card *card) { - int err = 0; - - INIT_LIST_HEAD(&usx2y(card)->pcm_list); + int err; err = usx2y_audio_stream_new(card, 0xA, 0x8); if (err < 0) |