summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-05 22:03:24 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-09 00:00:24 +0900
commit9bf69217ac9b64c9167956579c5284a9abcb73fe (patch)
tree29fed3332db7d92b5da3301c0d9b0894752617bd /i386
parentcb685dd357b7ad7a02486a5085f911ca29c94e15 (diff)
i386/i386/user_ldt.c: remove unused variable
* i386/i386/user_ldt.c (acc_type): Remove unused variable.
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/user_ldt.c12
1 files changed, 0 insertions, 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'.