]> git.baikalelectronics.ru Git - kernel.git/commit
gma500: clean up an excessive and confusing helper
authorAlan Cox <alan@linux.intel.com>
Fri, 29 Jan 2016 19:37:48 +0000 (19:37 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 8 Feb 2016 09:07:09 +0000 (10:07 +0100)
commit3c7aa731b2a7cb3dfb7b96d60eba3dcc58b17baf
tree7e2a8218457b458ecd0509e140786a3813b528eb
parent935a6b7ca5aeb4b31bacf4b4e4510cc22e99e276
gma500: clean up an excessive and confusing helper

This is a left over from the great clean ups in the past. It's confusing as
it returns an int, yet has one caller that never uses it. The caller already
has all the right private variables local so the entire function can be
replaced by a simple if call.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20160129193731.8475.47809.stgit@localhost.localdomain
Acked-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/gma500/framebuffer.c