Tag: 5acb07ea802c3a06bbe22cba32fbb8eb97b6b3ae

drm/msm: Deletion of unnecessary checks before the function call “release_firmware”

Author: Markus Elfring <elfring@users.sourceforge.net> 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 Reviewed-by: Thierry Reding Signed-off-by: Rob Clark — drivers/gpu/drm/msm/adreno/adreno_gpu.c | 6 ++—- 1 file changed, 2 insertions(+), 4 …

Continue reading