dragon-nx32: Remove unused (un)map_video calls
authorTormod Volden <debian.tormod@gmail.com>
Mon, 7 Jan 2019 21:53:06 +0000 (22:53 +0100)
committerAlan Cox <alan@linux.intel.com>
Tue, 8 Jan 2019 16:53:47 +0000 (16:53 +0000)
Now that we are not sharing vc.c any longer.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Kernel/platform-dragon-nx32/config.h
Kernel/platform-dragon-nx32/vc.c

index c53dae3..66a36b3 100644 (file)
@@ -46,8 +46,6 @@
 #define VT_INITIAL_LINE        0
 
 #define VIDEO_BASE     0x0400
-#define map_video(x)
-#define unmap_video(x)
 #define VC_BASE                0x1C00
 
 #define CRT9128_BASE   0xFF7C
index f1d87bb..d280852 100644 (file)
@@ -78,7 +78,5 @@ unsigned char vt_mangle_6847(unsigned char c)
 /* called without curtty and VC being set - using VC_BASE */
 void vc_clear(int8_t vc_num)
 {
-       map_video()
        memset((uint8_t*)VC_BASE + 0x200 * vc_num, ' ', 0x200);
-       unmap_video()
 }