Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/iomd struct vidcaudio_softc.iobase was unused o...
details: https://anonhg.NetBSD.org/src/rev/2b3c4bda156b
branches: trunk
changeset: 532845:2b3c4bda156b
user: bjh21 <bjh21%NetBSD.org@localhost>
date: Sun Jun 16 12:36:42 2002 +0000
description:
struct vidcaudio_softc.iobase was unused other than to initialise it. G/C it.
This also means that the "aux" parameter to vidcaudio_attach is unused.
diffstat:
sys/arch/arm/iomd/vidcaudio.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diffs (39 lines):
diff -r 5978e3640a26 -r 2b3c4bda156b sys/arch/arm/iomd/vidcaudio.c
--- a/sys/arch/arm/iomd/vidcaudio.c Sun Jun 16 12:33:41 2002 +0000
+++ b/sys/arch/arm/iomd/vidcaudio.c Sun Jun 16 12:36:42 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vidcaudio.c,v 1.8 2002/04/10 19:35:24 thorpej Exp $ */
+/* $NetBSD: vidcaudio.c,v 1.9 2002/06/16 12:36:42 bjh21 Exp $ */
/*
* Copyright (c) 1995 Melvin Tang-Richardson
@@ -38,7 +38,7 @@
#include <sys/param.h> /* proc.h */
-__KERNEL_RCSID(0, "$NetBSD: vidcaudio.c,v 1.8 2002/04/10 19:35:24 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vidcaudio.c,v 1.9 2002/06/16 12:36:42 bjh21 Exp $");
#include <sys/conf.h> /* autoconfig functions */
#include <sys/device.h> /* device calls */
@@ -86,7 +86,6 @@
struct vidcaudio_softc {
struct device device;
- int iobase;
int open;
};
@@ -204,12 +203,9 @@
struct device *self;
void *aux;
{
- struct mainbus_attach_args *mb = aux;
struct vidcaudio_softc *sc = (void *)self;
int id;
- sc->iobase = mb->mb_iobase;
-
sc->open = 0;
ag.in_progress = 0;
Home |
Main Index |
Thread Index |
Old Index