aboutsummaryrefslogtreecommitdiff
path: root/drivers/video/console/prom.uni
diff options
context:
space:
mode:
authorMarcin Slusarz <marcin.slusarz@gmail.com>2008-10-15 22:03:50 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-16 11:21:45 -0700
commit5ab4840968cd094586f65fce978e35c66d25ac78 (patch)
tree97505fbfc59bb53771602dc7a733afd884886b58 /drivers/video/console/prom.uni
parentc38182a713df5268d8a4a33819a77f93b950f84c (diff)
vgacon: vgacon_scrolldelta simplification
There's no point in checking diff == c->vc_rows, because it can be true only when count == 0, but we already checked that. Additionally move variables used only in one block to this block. Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Cc: Antonino Daplas <adaplas@gmail.com> Acked-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>
Diffstat (limited to 'drivers/video/console/prom.uni')
0 files changed, 0 insertions, 0 deletions