[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 5/5] i386/i386/seg.c: remove file
From: |
Marin Ramesa |
Subject: |
[PATCH 5/5] i386/i386/seg.c: remove file |
Date: |
Fri, 15 Nov 2013 19:39:20 +0100 |
MACH_INLINE is already defined where needed. Inline functions from seg.h and
tss.h get compiled when included from other files, therefore seg.c serves no
real purpose. I think it's safe to remove.
* i386/Makefrag.am: Remove i386/i386/seg.c.
* i386/i386/seg.c: Remove file.
---
i386/Makefrag.am | 1 -
i386/i386/seg.c | 5 -----
2 files changed, 6 deletions(-)
delete mode 100644 i386/i386/seg.c
diff --git a/i386/Makefrag.am b/i386/Makefrag.am
index bfcff22..9a87bf6 100644
--- a/i386/Makefrag.am
+++ b/i386/Makefrag.am
@@ -120,7 +120,6 @@ libkernel_a_SOURCES += \
i386/i386/pmap.h \
i386/i386/proc_reg.h \
i386/i386/sched_param.h \
- i386/i386/seg.c \
i386/i386/seg.h \
i386/i386/setjmp.h \
i386/i386/spl.S \
diff --git a/i386/i386/seg.c b/i386/i386/seg.c
deleted file mode 100644
index d57c255..0000000
--- a/i386/i386/seg.c
+++ /dev/null
@@ -1,5 +0,0 @@
-
-#define MACH_INLINE
-#include "seg.h"
-#include "tss.h"
-
--
1.8.1.4