]> git.karo-electronics.de Git - linux-beck.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)
commit4e3461d34f4cd632b403342ea1df33135e5e3ad3
tree707a2cff2aa9367aeb88e977a65aa66eb7d49b8a
parent544c55c810a55dcfd2febbc33105642923be9192
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