Module Name: src Committed By: christos Date: Wed Oct 16 18:07:56 UTC 2013
Modified Files: src/sys/arch/amd64/amd64: gdt.c Log Message: remove unused To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/arch/amd64/amd64/gdt.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/amd64/amd64/gdt.c diff -u src/sys/arch/amd64/amd64/gdt.c:1.24 src/sys/arch/amd64/amd64/gdt.c:1.25 --- src/sys/arch/amd64/amd64/gdt.c:1.24 Tue Jul 6 21:14:52 2010 +++ src/sys/arch/amd64/amd64/gdt.c Wed Oct 16 14:07:56 2013 @@ -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 @@ tss_alloc(struct x86_64_tss *tss) { #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();