Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/amd64 remove unused
details: https://anonhg.NetBSD.org/src/rev/680e56cae027
branches: trunk
changeset: 790528:680e56cae027
user: christos <christos%NetBSD.org@localhost>
date: Wed Oct 16 18:07:56 2013 +0000
description:
remove unused
diffstat:
sys/arch/amd64/amd64/gdt.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r 582a06dff716 -r 680e56cae027 sys/arch/amd64/amd64/gdt.c
--- a/sys/arch/amd64/amd64/gdt.c Wed Oct 16 17:43:33 2013 +0000
+++ b/sys/arch/amd64/amd64/gdt.c Wed Oct 16 18:07:56 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gdt.c,v 1.24 2010/07/07 01:14:52 chs Exp $ */
+/* $NetBSD: gdt.c,v 1.25 2013/10/16 18:07:56 christos Exp $ */
/*-
* Copyright (c) 1996, 1997, 2009 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gdt.c,v 1.24 2010/07/07 01:14:52 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gdt.c,v 1.25 2013/10/16 18:07:56 christos Exp $");
#include "opt_multiprocessor.h"
#include "opt_xen.h"
@@ -300,9 +300,6 @@
{
#ifndef XEN
int slot;
- struct sys_segment_descriptor *gdt;
-
- gdt = (struct sys_segment_descriptor *)&gdtstore[DYNSEL_START];
mutex_enter(&cpu_lock);
slot = gdt_get_slot();
Home |
Main Index |
Thread Index |
Old Index