From 9c9d081d2663eb86b8fc2b7acb70abff916d4689 Mon Sep 17 00:00:00 2001 From: isaki Date: Sat, 10 Jan 2009 06:41:06 +0000 Subject: [PATCH] fdc->sc_dev is not necessary. --- sys/arch/x68k/dev/fd.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sys/arch/x68k/dev/fd.c b/sys/arch/x68k/dev/fd.c index af115d11f3ed..8b21a77bbd6b 100644 --- a/sys/arch/x68k/dev/fd.c +++ b/sys/arch/x68k/dev/fd.c @@ -1,4 +1,4 @@ -/* $NetBSD: fd.c,v 1.88 2008/12/18 03:18:27 isaki Exp $ */ +/* $NetBSD: fd.c,v 1.89 2009/01/10 06:41:06 isaki Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -64,7 +64,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.88 2008/12/18 03:18:27 isaki Exp $"); +__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.89 2009/01/10 06:41:06 isaki Exp $"); #include "rnd.h" #include "opt_ddb.h" @@ -138,8 +138,6 @@ enum fdc_state { /* software state, per controller */ struct fdc_softc { - device_t sc_dev; /* boilerplate */ - bus_space_tag_t sc_iot; /* intio i/o space identifier */ bus_space_handle_t sc_ioh; /* intio io handle */ @@ -409,8 +407,6 @@ fdcattach(device_t parent, device_t self, void *aux) struct intio_attach_args *ia = aux; struct fdc_attach_args fa; - fdc->sc_dev = self; - iot = ia->ia_bst; aprint_normal("\n");