]> git.baikalelectronics.ru Git - kernel.git/commit
neofb: kill some redundant code
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Thu, 16 Oct 2008 05:03:32 +0000 (22:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:42 +0000 (11:21 -0700)
commit37620c27548c7dd9a3a6e811966b12d93451f627
tree45781955355a69ed8461478e68acd2f17b9841f0
parent9e9878eb1118af12832d27bc519b3b4904e9c925
neofb: kill some redundant code

Move common code outside if/else or switch/case clauses.

Drop checks done twice inside the neofb_check_var().

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/neofb.c