Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/cardbus Remove superfluous cast (device_t to device_t).
details: https://anonhg.NetBSD.org/src/rev/8f60cd10382d
branches: trunk
changeset: 753162:8f60cd10382d
user: dyoung <dyoung%NetBSD.org@localhost>
date: Fri Mar 19 01:44:05 2010 +0000
description:
Remove superfluous cast (device_t to device_t).
diffstat:
sys/dev/cardbus/cardslot.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 48805061f723 -r 8f60cd10382d sys/dev/cardbus/cardslot.c
--- a/sys/dev/cardbus/cardslot.c Fri Mar 19 01:34:46 2010 +0000
+++ b/sys/dev/cardbus/cardslot.c Fri Mar 19 01:44:05 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cardslot.c,v 1.51 2009/12/15 22:17:12 snj Exp $ */
+/* $NetBSD: cardslot.c,v 1.52 2010/03/19 01:44:05 dyoung Exp $ */
/*
* Copyright (c) 1999 and 2000
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cardslot.c,v 1.51 2009/12/15 22:17:12 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cardslot.c,v 1.52 2010/03/19 01:44:05 dyoung Exp $");
#include "opt_cardslot.h"
@@ -382,7 +382,7 @@
}
if (sc->sc_16_softc) {
CARDSLOT_SET_CARDTYPE(sc->sc_status, CARDSLOT_STATUS_CARD_16);
- if (pcmcia_card_attach((device_t)sc->sc_16_softc)) {
+ if (pcmcia_card_attach(sc->sc_16_softc)) {
/* Do not attach */
CARDSLOT_SET_WORK(sc->sc_status,
CARDSLOT_STATUS_NOTWORK);
Home |
Main Index |
Thread Index |
Old Index