Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/i386 dump is not used here.
details: https://anonhg.NetBSD.org/src/rev/c5c9a8ace30f
branches: trunk
changeset: 757909:c5c9a8ace30f
user: jym <jym%NetBSD.org@localhost>
date: Sat Oct 02 22:54:47 2010 +0000
description:
dump is not used here.
diffstat:
sys/arch/i386/i386/dumpsys.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r a766d0212b97 -r c5c9a8ace30f sys/arch/i386/i386/dumpsys.c
--- a/sys/arch/i386/i386/dumpsys.c Sat Oct 02 22:53:49 2010 +0000
+++ b/sys/arch/i386/i386/dumpsys.c Sat Oct 02 22:54:47 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dumpsys.c,v 1.9 2010/02/26 19:25:07 jym Exp $ */
+/* $NetBSD: dumpsys.c,v 1.10 2010/10/02 22:54:47 jym Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2000, 2004, 2006, 2008 The NetBSD Foundation, Inc.
@@ -69,7 +69,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dumpsys.c,v 1.9 2010/02/26 19:25:07 jym Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dumpsys.c,v 1.10 2010/10/02 22:54:47 jym Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -609,7 +609,6 @@
static int
cpu_dump(void)
{
- int (*dump)(dev_t, daddr_t, void *, size_t);
kcore_seg_t seg;
cpu_kcore_hdr_t cpuhdr;
const struct bdevsw *bdev;
@@ -617,7 +616,6 @@
bdev = bdevsw_lookup(dumpdev);
if (bdev == NULL)
return (ENXIO);
- dump = bdev->d_dump;
/*
* Generate a segment header.
Home |
Main Index |
Thread Index |
Old Index