[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 25/66] i386/i386/mp_desc.c: remove dead assignment
From: |
Marin Ramesa |
Subject: |
[PATCH 25/66] i386/i386/mp_desc.c: remove dead assignment |
Date: |
Thu, 5 Dec 2013 22:03:19 +0100 |
* i386/i386/mp_desc.c (mp_desc_table): Remove variable.
(mp_desc_table): Remove dead assignment.
* i386/i386/mp_desc.h (mp_desc_table): Remove declaration.
---
i386/i386/mp_desc.c | 6 ------
i386/i386/mp_desc.h | 5 -----
2 files changed, 11 deletions(-)
diff --git a/i386/i386/mp_desc.c b/i386/i386/mp_desc.c
index 5ede8f1..4a13ac9 100644
--- a/i386/i386/mp_desc.c
+++ b/i386/i386/mp_desc.c
@@ -74,11 +74,6 @@ char eintstack[]; /* top */
*/
/*
- * Allocated descriptor tables.
- */
-struct mp_desc_table *mp_desc_table[NCPUS] = { 0 };
-
-/*
* Pointer to TSS for access in load_context.
*/
struct task_tss *mp_ktss[NCPUS] = { 0 };
@@ -121,7 +116,6 @@ mp_desc_init(mycpu)
*/
mpt = (struct mp_desc_table *) interrupt_stack[mycpu];
- mp_desc_table[mycpu] = mpt;
mp_ktss[mycpu] = &mpt->ktss;
mp_gdt[mycpu] = mpt->gdt;
diff --git a/i386/i386/mp_desc.h b/i386/i386/mp_desc.h
index 03d7194..cb1e9a7 100644
--- a/i386/i386/mp_desc.h
+++ b/i386/i386/mp_desc.h
@@ -56,11 +56,6 @@ struct mp_desc_table {
};
/*
- * They are pointed to by a per-processor array.
- */
-extern struct mp_desc_table *mp_desc_table[NCPUS];
-
-/*
* The kernel TSS gets its own pointer.
*/
extern struct task_tss *mp_ktss[NCPUS];
--
1.8.1.4
- [PATCH 19/66] i386/i386/db_interface.c: use boolean instead of an int, (continued)
- [PATCH 19/66] i386/i386/db_interface.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 20/66] i386/i386/db_interface.c: remove dead assignment, Marin Ramesa, 2013/12/05
- [PATCH 22/66] i386/i386/db_interface.c: remove dead assignment, Marin Ramesa, 2013/12/05
- [PATCH 21/66] i386/i386/db_interface.c: remove dead assignment, Marin Ramesa, 2013/12/05
- [PATCH 24/66] i386/i386/mp_desc.c: remove unused variable, Marin Ramesa, 2013/12/05
- [PATCH 23/66] i386/i386/ipl.h: remove ifdef and add ifndef, Marin Ramesa, 2013/12/05
- [PATCH 26/66] i386/i386/pic.c: remove unused variables, Marin Ramesa, 2013/12/05
- [PATCH 25/66] i386/i386/mp_desc.c: remove dead assignment,
Marin Ramesa <=
- [PATCH 27/66] i386/i386/pit.c: remove unused variables, Marin Ramesa, 2013/12/05
- [PATCH 29/66] i386/i386/trap.c: remove unused variables, Marin Ramesa, 2013/12/05
- [PATCH 28/66] i386/i386/trap.c: remove unused variable, Marin Ramesa, 2013/12/05
- [PATCH 30/66] i386/i386/user_ldt.c: remove unused variable, Marin Ramesa, 2013/12/05
- [PATCH 31/66] i386/i386at/com.c: simplify code, Marin Ramesa, 2013/12/05
- [PATCH 32/66] i386/i386at/com.c: remove dead assignment, Marin Ramesa, 2013/12/05
- [PATCH 33/66] i386/i386at/immc.c, kd.c: use boolean instead of an int, Marin Ramesa, 2013/12/05