Deleted Added
full compact
31c31
< * $FreeBSD: head/sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c 151700 2005-10-26 15:52:16Z jhb $
---
> * $FreeBSD: head/sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c 151726 2005-10-26 23:13:51Z emax $
615c615
< bt3c_softc_p sc = NULL;
---
> bt3c_softc_p sc = (bt3c_softc_p) device_get_softc(dev);
617,620d616
< sc = (bt3c_softc_p) malloc(sizeof(*sc), M_BT3C, M_NOWAIT|M_ZERO);
< if (sc == NULL)
< return (ENOMEM);
<
680d675
< device_set_softc(dev, sc);
708,709d702
< free(sc, M_BT3C);
<
725,726d717
< device_set_softc(dev, NULL);
<
753,755d743
< bzero(sc, sizeof(*sc));
< free(sc, M_BT3C);
<
1200c1188
< 0
---
> sizeof(bt3c_softc_t)