[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 30/66] i386/i386/user_ldt.c: remove unused variable
From: |
Marin Ramesa |
Subject: |
[PATCH 30/66] i386/i386/user_ldt.c: remove unused variable |
Date: |
Thu, 5 Dec 2013 22:03:24 +0100 |
* i386/i386/user_ldt.c (acc_type): Remove unused variable.
---
i386/i386/user_ldt.c | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/i386/i386/user_ldt.c b/i386/i386/user_ldt.c
index 5c3d323..07be0a0 100644
--- a/i386/i386/user_ldt.c
+++ b/i386/i386/user_ldt.c
@@ -43,18 +43,6 @@
#include "ldt.h"
#include "vm_param.h"
-char acc_type[8][3] = {
- /* code stack data */
- { 0, 0, 1 }, /* data */
- { 0, 1, 1 }, /* data, writable */
- { 0, 0, 1 }, /* data, expand-down */
- { 0, 1, 1 }, /* data, writable, expand-down */
- { 1, 0, 0 }, /* code */
- { 1, 0, 1 }, /* code, readable */
- { 1, 0, 0 }, /* code, conforming */
- { 1, 0, 1 }, /* code, readable, conforming */
-};
-
/*
* Add the descriptors to the LDT, starting with
* the descriptor for 'first_selector'.
--
1.8.1.4
- [PATCH 21/66] i386/i386/db_interface.c: remove dead assignment, (continued)
- [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, 2013/12/05
- [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 <=
- [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
- [PATCH 34/66] i386/i386at/model_dep.c, kd.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 40/66] i386/i386at/kd.h: remove ifdef, Marin Ramesa, 2013/12/05
- [PATCH 41/66] i386/i386at/kd.h: remove ifdef, Marin Ramesa, 2013/12/05