diff options
| author | mycroft <mycroft@NetBSD.org> | 2003-10-29 21:26:43 +0000 |
|---|---|---|
| committer | mycroft <mycroft@NetBSD.org> | 2003-10-29 21:26:43 +0000 |
| commit | 3fbc866a6e1735e52a55d02af4e8c7ed976dcd10 (patch) | |
| tree | 6e64a880fbc6d789e2032a9c01ecb91ac4bee5fd /sys | |
| parent | b9c785bd44c820ea2b82f64ba0897c0451fc418c (diff) | |
Back out the bogus initializer -- the compiler bug is fixed.
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/ata/wd.c | 6 | ||||
| -rw-r--r-- | sys/dev/scsipi/sd.c | 6 | ||||
| -rw-r--r-- | sys/nfs/nfs_serv.c | 5 |
3 files changed, 6 insertions, 11 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)); diff --git a/sys/nfs/nfs_serv.c b/sys/nfs/nfs_serv.c index a24405271ec..1c288e9c1cf 100644 --- a/sys/nfs/nfs_serv.c +++ b/sys/nfs/nfs_serv.c @@ -1,4 +1,4 @@ -/* $NetBSD: nfs_serv.c,v 1.84 2003/10/28 02:01:46 cl Exp $ */ +/* $NetBSD: nfs_serv.c,v 1.85 2003/10/29 21:28:37 mycroft Exp $ */ /* * Copyright (c) 1989, 1993 @@ -55,7 +55,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: nfs_serv.c,v 1.84 2003/10/28 02:01:46 cl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: nfs_serv.c,v 1.85 2003/10/29 21:28:37 mycroft Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -3287,7 +3287,6 @@ nfsrv_statfs(nfsd, slp, procp, mrq) return (0); nfsm_build(sfp, struct nfs_statfs *, NFSX_STATFS(v3)); if (v3) { - tval = 0; /* XXX: gcc m68k */ tval = (u_quad_t)((quad_t)sf->f_blocks * (quad_t)sf->f_bsize); txdr_hyper(tval, &sfp->sf_tbytes); tval = (u_quad_t)((quad_t)sf->f_bfree * (quad_t)sf->f_bsize); |
