Tag: 44fb4b8aa3925bf17763fcad76a97561aab32ecd

GPU-DRM-GMA500: Delete unnecessary checks before two function calls

Author: Markus Elfring <elfring@users.sourceforge.net> The functions pci_dev_put() and psb_intel_i2c_destroy() test whether their argument is NULL and then return immediately. Thus the tests around their calls are not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Daniel Vetter Link: http://patchwork.freedesktop.org/patch/msgid/f1a0fd83-4320-f3db-e1bb-3b9832a4429f@users.sourceforge.net — drivers/gpu/drm/gma500/cdv_intel_hdmi.c | 3 +– drivers/gpu/drm/gma500/cdv_intel_lvds.c | 9 +++—— drivers/gpu/drm/gma500/psb_drv.c …

Continue reading