drm/msm: Deletion of unnecessary checks before the function call "release_firmware"
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 25 Nov 2014 12:44:20 +0000 (13:44 +0100)
committerRob Clark <robdclark@gmail.com>
Wed, 17 Dec 2014 15:59:49 +0000 (10:59 -0500)
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>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>

No differences found