diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2014-12-02 22:50:24 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-12-03 07:59:04 +0100 |
commit | 492a7ea0a6d3cc9c16ad5f8af832ed4278225b2e (patch) | |
tree | ee926e9d9acaa1c8b93860a25ffc3bd8331df6e5 /sound/pci | |
parent | ALSA: trident: Deletion of a check before snd_util_memhdr_free() (diff) | |
download | linux-492a7ea0a6d3cc9c16ad5f8af832ed4278225b2e.tar.xz linux-492a7ea0a6d3cc9c16ad5f8af832ed4278225b2e.zip |
ALSA: i2sbus: Deletion of unnecessary checks before the function call "release_and_free_resource"
The release_and_free_resource() function tests whether its argument is NULL
and then returns immediately. Thus the test around the call is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions