]> git.baikalelectronics.ru Git - kernel.git/commit
drm/edid: Deletion of an unnecessary check before the function call "release_firmware"
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 19 Nov 2014 15:33:17 +0000 (16:33 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 21 Nov 2014 02:16:27 +0000 (12:16 +1000)
commit80e058675c270967a0d379faad678d9559a55c56
tree047501ec96cb3c4fa99a90ed9d098b487241a095
parent2be0261386dca46db859dc00dfd46ee5e44ac569
drm/edid: Deletion of an unnecessary check 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 <thierry.reding@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_edid_load.c