]> git.baikalelectronics.ru Git - kernel.git/commit
drm/crtc: Remove redundant NULL check before kfree
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 19 Nov 2012 09:44:56 +0000 (09:44 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 20 Nov 2012 05:40:46 +0000 (15:40 +1000)
commitd7e2a0e1f177f9c68682a30f2555291c0727b960
treedc60e31a361d588831482436966246d2ea2056df
parent0181c474fb241eec81f9b5b69d88a3f8312650e7
drm/crtc: Remove redundant NULL check before kfree

kfree() on a NULL input is a no-op. Hence remove the check.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c