diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2006-01-09 23:53:44 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-10 11:01:51 -0500 |
commit | a39bc34ea8f042e090ade124726ae5a3fd1a51f8 (patch) | |
tree | 60dbc6861a9189135d789f305957bbc3f2119c1f /drivers/video/console/fbcon_rotate.h | |
parent | c5eec03f314e1406829d9683284673203b91b9b8 (diff) |
[PATCH] fbcon: Code cleanups
- replace kmalloc with kzalloc
- remove repeated define (FONTCHHCNT)
- remove unneeded local variable (redraw) in ypan_{up|down}_redraw
- add and delete cursor timer in fbcon_switch() if old_info != info
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/console/fbcon_rotate.h')
-rw-r--r-- | drivers/video/console/fbcon_rotate.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/console/fbcon_rotate.h b/drivers/video/console/fbcon_rotate.h index 1b8f92fdc6a..75be5ce53dc 100644 --- a/drivers/video/console/fbcon_rotate.h +++ b/drivers/video/console/fbcon_rotate.h | |||
@@ -11,8 +11,6 @@ | |||
11 | #ifndef _FBCON_ROTATE_H | 11 | #ifndef _FBCON_ROTATE_H |
12 | #define _FBCON_ROTATE_H | 12 | #define _FBCON_ROTATE_H |
13 | 13 | ||
14 | #define FNTCHARCNT(fd) (((int *)(fd))[-3]) | ||
15 | |||
16 | #define GETVYRES(s,i) ({ \ | 14 | #define GETVYRES(s,i) ({ \ |
17 | (s == SCROLL_REDRAW || s == SCROLL_MOVE) ? \ | 15 | (s == SCROLL_REDRAW || s == SCROLL_MOVE) ? \ |
18 | (i)->var.yres : (i)->var.yres_virtual; }) | 16 | (i)->var.yres : (i)->var.yres_virtual; }) |