bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 20/66] i386/i386/db_interface.c: remove dead assignment


From: Marin Ramesa
Subject: [PATCH 20/66] i386/i386/db_interface.c: remove dead assignment
Date: Thu, 5 Dec 2013 22:03:14 +0100

* i386/i386/db_interface.c (i386_last_saved_statep): Remove variable.
(i386_last_saved_statep): Remove dead assignment.

---
 i386/i386/db_interface.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/i386/i386/db_interface.c b/i386/i386/db_interface.c
index a59ed37..23a66dd 100644
--- a/i386/i386/db_interface.c
+++ b/i386/i386/db_interface.c
@@ -114,7 +114,6 @@ kern_return_t db_set_debug_state(
 
 #if MACH_KDB
 
-struct  i386_saved_state *i386_last_saved_statep;
 struct  i386_saved_state i386_nested_saved_state;
 unsigned i386_last_kdb_sp;
 
@@ -276,7 +275,6 @@ kdb_trap(
        if (db_enter())
 #endif /* NCPUS > 1 */
        {
-           i386_last_saved_statep = regs;
            i386_last_kdb_sp = (unsigned) &type;
 
            /* XXX Should switch to ddb`s own stack here. */
-- 
1.8.1.4




reply via email to

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