[alsa-devel] ASoC: omap-mcbsp: Deletion of an unnecessary check before the function call "kfree"

Mark Brown broonie at kernel.org
Tue Nov 18 10:40:23 CET 2014


On Mon, Nov 17, 2014 at 02:15:01PM +0100, SF Markus Elfring wrote:
> From: Markus Elfring <elfring at users.sourceforge.net>
> Date: Mon, 17 Nov 2014 14:05:27 +0100
> 
> The kfree() function tests whether its argument is NULL and then
> returns immediately. Thus the test around the call is not needed.

Applied, thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20141118/789c943c/attachment.sig>


More information about the Alsa-devel mailing list