diff mbox

[03/15] rmap_chain: Remove dead code

Message ID cb88f59388b7885f51fbca8ff78c0d75c2a8665e.1387187847.git.jan.kiszka@siemens.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jan Kiszka Dec. 16, 2013, 9:57 a.m. UTC
Fixes corresponding warning.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 x86/rmap_chain.c | 9 ---------
 1 file changed, 9 deletions(-)
diff mbox

Patch

diff --git a/x86/rmap_chain.c b/x86/rmap_chain.c
index 0df1bcb..b356a37 100644
--- a/x86/rmap_chain.c
+++ b/x86/rmap_chain.c
@@ -5,15 +5,6 @@ 
 #include "vm.h"
 #include "smp.h"
 
-void print(const char *s);
-
-static unsigned int inl(unsigned short port)
-{
-    unsigned int val;
-    asm volatile ("inl %w1, %0":"=a" (val):"Nd" (port));
-    return val;
-}
-
 int main (void)
 {
     int i;