Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/jdolecek-ncq]: src/sys/arch/atari/dev g/c mistakely left over code
details: https://anonhg.NetBSD.org/src/rev/981136052345
branches: jdolecek-ncq
changeset: 823038:981136052345
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Wed Sep 27 19:04:05 2017 +0000
description:
g/c mistakely left over code
diffstat:
sys/arch/atari/dev/wdc_mb.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diffs (30 lines):
diff -r e53bfb4ffb32 -r 981136052345 sys/arch/atari/dev/wdc_mb.c
--- a/sys/arch/atari/dev/wdc_mb.c Wed Sep 27 07:19:33 2017 +0000
+++ b/sys/arch/atari/dev/wdc_mb.c Wed Sep 27 19:04:05 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wdc_mb.c,v 1.38.28.2 2017/09/27 07:19:33 jdolecek Exp $ */
+/* $NetBSD: wdc_mb.c,v 1.38.28.3 2017/09/27 19:04:05 jdolecek Exp $ */
/*-
* Copyright (c) 1998, 2003 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wdc_mb.c,v 1.38.28.2 2017/09/27 07:19:33 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wdc_mb.c,v 1.38.28.3 2017/09/27 19:04:05 jdolecek Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -95,11 +95,6 @@
if (!atari_realconfig)
return 0;
- memset(&wdc, 0, sizeof(wdc));
- memset(&ch, 0, sizeof(ch));
- ch.ch_atac = &wdc.sc_atac;
- wdc.regs = &wdr;
-
wdr.cmd_iot = wdr.ctl_iot = mb_alloc_bus_space_tag();
if (wdr.cmd_iot == NULL)
return 0;
Home |
Main Index |
Thread Index |
Old Index