Message ID | 20200208222006.37376-1-colin.king@canonical.com |
---|---|
State | Accepted |
Commit | 0cc629722221701a1b1030477c44dfbaca6c110d |
Headers | show |
Series | ALSA: hdsp: remove redundant assignment to variable err | expand |
diff --git a/sound/pci/rme9652/hdsp.c b/sound/pci/rme9652/hdsp.c index cc06f0a1a7e4..227aece17e39 100644 --- a/sound/pci/rme9652/hdsp.c +++ b/sound/pci/rme9652/hdsp.c @@ -3353,7 +3353,8 @@ snd_hdsp_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) return; } } else { - int err = -EINVAL; + int err; + err = hdsp_request_fw_loader(hdsp); if (err < 0) { snd_iprintf(buffer,