summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authordyoung <dyoung@NetBSD.org>2008-01-19 22:20:42 +0000
committerdyoung <dyoung@NetBSD.org>2008-01-19 22:20:42 +0000
commitf049e8f385df7ef45a14265799ea391db625f1d8 (patch)
tree7a3aa63894b11a15038b7fa9523f93cbbca746c1 /sys/dev
parentdf18183c3c6880460d862b2c57c5f4beb9b5f054 (diff)
Remove unused sc_media #define.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/gemvar.h3
-rw-r--r--sys/dev/ic/hmevar.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/ic/gemvar.h b/sys/dev/ic/gemvar.h
index f55ee2bbfe9..0a9381fd298 100644
--- a/sys/dev/ic/gemvar.h
+++ b/sys/dev/ic/gemvar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: gemvar.h,v 1.16 2008/01/05 20:27:44 jdc Exp $ */
+/* $NetBSD: gemvar.h,v 1.17 2008/01/19 22:20:42 dyoung Exp $ */
/*
*
@@ -117,7 +117,6 @@ struct gem_softc {
struct device sc_dev; /* generic device information */
struct ethercom sc_ethercom; /* ethernet common data */
struct mii_data sc_mii; /* MII media control */
-#define sc_media sc_mii.mii_media/* shorthand */
struct callout sc_tick_ch; /* tick callout */
/* The following bus handles are to be provided by the bus front-end */
diff --git a/sys/dev/ic/hmevar.h b/sys/dev/ic/hmevar.h
index e76b261b346..fb3d82fad99 100644
--- a/sys/dev/ic/hmevar.h
+++ b/sys/dev/ic/hmevar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: hmevar.h,v 1.15 2007/03/04 06:01:55 christos Exp $ */
+/* $NetBSD: hmevar.h,v 1.16 2008/01/19 22:21:05 dyoung Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -67,7 +67,6 @@ struct hme_softc {
struct device sc_dev; /* boilerplate device view */
struct ethercom sc_ethercom; /* Ethernet common part */
struct mii_data sc_mii; /* MII media control */
-#define sc_media sc_mii.mii_media/* shorthand */
struct callout sc_tick_ch; /* tick callout */
/* The following bus handles are to be provided by the bus front-end */