Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Remove unused structure.



details:   https://anonhg.NetBSD.org/src/rev/e363f7631344
branches:  trunk
changeset: 790423:e363f7631344
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Mon Oct 07 19:37:24 2013 +0000

description:
Remove unused structure.

diffstat:

 sys/dev/pci/nside.c |  11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)

diffs (32 lines):

diff -r 533010811206 -r e363f7631344 sys/dev/pci/nside.c
--- a/sys/dev/pci/nside.c       Mon Oct 07 17:36:40 2013 +0000
+++ b/sys/dev/pci/nside.c       Mon Oct 07 19:37:24 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nside.c,v 1.7 2012/07/31 15:50:36 bouyer Exp $ */
+/*     $NetBSD: nside.c,v 1.8 2013/10/07 19:37:24 jakllsch Exp $       */
 
 /*
  * Copyright (c) 1999, 2000, 2001 Manuel Bouyer.
@@ -25,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nside.c,v 1.7 2012/07/31 15:50:36 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nside.c,v 1.8 2013/10/07 19:37:24 jakllsch Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -45,12 +45,7 @@
 static int  nside_match(device_t, cfdata_t, void *);
 static void nside_attach(device_t, device_t, void *);
 
-struct nside_softc {
-       struct pciide_softc pciide_sc;
-       struct pci_attach_args pcib_pa;
-};
-
-CFATTACH_DECL_NEW(nside, sizeof(struct nside_softc),
+CFATTACH_DECL_NEW(nside, sizeof(struct pciide_softc),
     nside_match, nside_attach, NULL, NULL);
 
 static const struct pciide_product_desc pciide_natsemi_products[] =  {



Home | Main Index | Thread Index | Old Index