]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Delete an unnecessary check before the function call "release_firmware"
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 3 Jan 2015 18:49:37 +0000 (19:49 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 5 Jan 2015 19:03:34 +0000 (19:03 +0000)
commit7aa0fd5c1b37b9e7936de0b2047778d77dca1633
tree707a2cff2aa9367aeb88e977a65aa66eb7d49b8a
parent9cececc17fdd68c3d69959534bad5ff4f79b5ee1
ASoC: Intel: Delete an unnecessary check before the function call "release_firmware"

The release_firmware() 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: Mark Brown <broonie@kernel.org>
sound/soc/intel/sst/sst_loader.c