diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2008-10-15 22:03:50 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-16 11:21:45 -0700 |
commit | 5ab4840968cd094586f65fce978e35c66d25ac78 (patch) | |
tree | 97505fbfc59bb53771602dc7a733afd884886b58 /drivers/w1/w1_netlink.c | |
parent | c38182a713df5268d8a4a33819a77f93b950f84c (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/w1/w1_netlink.c')
0 files changed, 0 insertions, 0 deletions