diff options
| author | dyoung <dyoung@NetBSD.org> | 2010-03-19 01:44:05 +0000 |
|---|---|---|
| committer | dyoung <dyoung@NetBSD.org> | 2010-03-19 01:44:05 +0000 |
| commit | d2f2daad71f77b74677524479dbc8474e21f320f (patch) | |
| tree | 1239ab2c229c5d856d2c5c891f4ddc9be8f56fb7 /sys/dev | |
| parent | f4de9422d86cce131d38d91a14d9f1a3438c995b (diff) | |
Remove superfluous cast (device_t to device_t).
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/cardbus/cardslot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/cardbus/cardslot.c b/sys/dev/cardbus/cardslot.c index dbce7023896..f8c06114c5e 100644 --- a/sys/dev/cardbus/cardslot.c +++ b/sys/dev/cardbus/cardslot.c @@ -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 @@ cardslot_event_thread(void *arg) } 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); |
