]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm: fb_helper: Simplify exit condition
authorDaniel Stone <daniels@collabora.com>
Thu, 19 Mar 2015 04:33:01 +0000 (04:33 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 23 Mar 2015 15:22:29 +0000 (16:22 +0100)
commitf3af5c7ddd9af8a466a725c6ba8ae2414aa19113
treeaf13fe1d5c686742f36a7608a19b8e0cbd769c7e
parent448002471bf6cc34069c2b34a2727abeba079834
drm: fb_helper: Simplify exit condition

mode is always NULL at this point in the function, so make our intention
clear.

Signed-off-by: Daniel Stone <daniels@collabora.com>
[danvet: Stop clearing mode too to enlist gcc in tracking
uninitialized usage. And remove a space while at it.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_fb_helper.c