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 …
Privacy Overview
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.