coresight: tmc: Delete an unnecessary check before the function call "kfree"
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 23 Jul 2016 18:04:09 +0000 (20:04 +0200)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 6 Sep 2016 14:24:32 +0000 (08:24 -0600)
commitb761aefff4dbf6628571c203427ab862f2184900
treec0d0466fa20c01dc564344fef449f6c0a7937364
parent7246fc6d1c6c996ae8ad4e9b5eb162cef8cbfd32
coresight: tmc: Delete 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>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/hwtracing/coresight/coresight-tmc-etf.c
This page took 0.045205 seconds and 5 git commands to generate.