commit | bb66f2dc197d9cf1daaa82609302204d71c70389 | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Mon Nov 17 14:05:27 2014 +0100 |
committer | Mark Brown <broonie@kernel.org> | Mon Nov 17 23:52:34 2014 +0000 |
tree | a378b671b17c40ef6c76b390283485b799c8297f | |
parent | ff7c532c3ae570981a46663d5810dda913d468d9 [diff] |
ASoC: omap-mcbsp: Deletion of an unnecessary check before the function call "kfree" The kfree() 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> Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com> Signed-off-by: Mark Brown <broonie@kernel.org>