diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2014-11-25 13:44:20 +0100 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2014-12-17 10:59:49 -0500 |
commit | 5acb07ea802c3a06bbe22cba32fbb8eb97b6b3ae (patch) | |
tree | 6bbecbe9dd9122d4958955962653ba15e1e8c88f /drivers/gpu/drm/msm/msm_drv.c | |
parent | 264f7d673fad394d8ed6b17fa9c16e2e62fa0c4e (diff) |
drm/msm: Deletion of unnecessary checks 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>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_drv.c')
0 files changed, 0 insertions, 0 deletions