projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: echoaudio: Deletion of a check before release_and_free_resource()
[firefly-linux-kernel-4.4.55.git]
/
sound
/
pci
/
echoaudio
/
echoaudio.c
diff --git
a/sound/pci/echoaudio/echoaudio.c
b/sound/pci/echoaudio/echoaudio.c
index 60e40034b9918fa08a88b13783918fa0315b485c..21228adaa70cb104b58580ec6392f129a9011708 100644
(file)
--- a/
sound/pci/echoaudio/echoaudio.c
+++ b/
sound/pci/echoaudio/echoaudio.c
@@
-1875,8
+1875,7
@@
static int snd_echo_free(struct echoaudio *chip)
if (chip->dsp_registers)
iounmap(chip->dsp_registers);
- if (chip->iores)
- release_and_free_resource(chip->iores);
+ release_and_free_resource(chip->iores);
pci_disable_device(chip->pci);