diff options
Diffstat (limited to 'sys/dev/sound/pci/cmi.c')
-rw-r--r-- | sys/dev/sound/pci/cmi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/sound/pci/cmi.c b/sys/dev/sound/pci/cmi.c index d878e45..83e4de8 100644 --- a/sys/dev/sound/pci/cmi.c +++ b/sys/dev/sound/pci/cmi.c @@ -830,12 +830,10 @@ cmi_probe(device_t dev) static int cmi_attach(device_t dev) { - struct snddev_info *d; struct sc_info *sc; u_int32_t data; char status[SND_STATUSLEN]; - d = device_get_softc(dev); sc = malloc(sizeof(struct sc_info), M_DEVBUF, M_NOWAIT | M_ZERO); if (sc == NULL) { device_printf(dev, "cannot allocate softc\n"); |