summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>2003-10-29 21:26:43 +0000
committermycroft <mycroft@NetBSD.org>2003-10-29 21:26:43 +0000
commit3fbc866a6e1735e52a55d02af4e8c7ed976dcd10 (patch)
tree6e64a880fbc6d789e2032a9c01ecb91ac4bee5fd /sys/dev
parentb9c785bd44c820ea2b82f64ba0897c0451fc418c (diff)
Back out the bogus initializer -- the compiler bug is fixed.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ata/wd.c6
-rw-r--r--sys/dev/scsipi/sd.c6
2 files changed, 4 insertions, 8 deletions
diff --git a/sys/dev/ata/wd.c b/sys/dev/ata/wd.c
index f36eab69b7a..c2535afeca9 100644
--- a/sys/dev/ata/wd.c
+++ b/sys/dev/ata/wd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: wd.c,v 1.265 2003/10/28 02:01:46 cl Exp $ */
+/* $NetBSD: wd.c,v 1.266 2003/10/29 21:27:38 mycroft Exp $ */
/*
* Copyright (c) 1998, 2001 Manuel Bouyer. All rights reserved.
@@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.265 2003/10/28 02:01:46 cl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.266 2003/10/29 21:27:38 mycroft Exp $");
#ifndef WDCDEBUG
#define WDCDEBUG
@@ -480,8 +480,6 @@ wdstrategy(struct buf *bp)
daddr_t blkno;
int s;
- blkno = 0; /* XXX to appease gcc3 m68k */
-
WDCDEBUG_PRINT(("wdstrategy (%s)\n", wd->sc_dev.dv_xname),
DEBUG_XFERS);
diff --git a/sys/dev/scsipi/sd.c b/sys/dev/scsipi/sd.c
index fb15436a17d..c31872f4c26 100644
--- a/sys/dev/scsipi/sd.c
+++ b/sys/dev/scsipi/sd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: sd.c,v 1.212 2003/10/28 02:01:46 cl Exp $ */
+/* $NetBSD: sd.c,v 1.213 2003/10/29 21:26:43 mycroft Exp $ */
/*-
* Copyright (c) 1998, 2003 The NetBSD Foundation, Inc.
@@ -54,7 +54,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sd.c,v 1.212 2003/10/28 02:01:46 cl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sd.c,v 1.213 2003/10/29 21:26:43 mycroft Exp $");
#include "opt_scsi.h"
#include "opt_bufq.h"
@@ -683,8 +683,6 @@ sdstrategy(bp)
int s;
boolean_t sector_aligned;
- blkno = 0; /* XXX to appease gcc3 m68k */
-
SC_DEBUG(sd->sc_periph, SCSIPI_DB2, ("sdstrategy "));
SC_DEBUG(sd->sc_periph, SCSIPI_DB1,
("%ld bytes @ blk %" PRId64 "\n", bp->b_bcount, bp->b_blkno));