bug-hurd
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]