summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pci/cmi.c
diff options
context:
space:
mode:
authorjoel <joel@FreeBSD.org>2006-01-21 09:05:13 +0000
committerjoel <joel@FreeBSD.org>2006-01-21 09:05:13 +0000
commit047652adbc64e8e64c5a2780c47e25db230cfe21 (patch)
tree346049a9acdceae8c572a41c857a72942e9f7384 /sys/dev/sound/pci/cmi.c
parenta63f1616a4b9e96a7387670d7e5d6f2c56f3015d (diff)
downloadFreeBSD-src-047652adbc64e8e64c5a2780c47e25db230cfe21.zip
FreeBSD-src-047652adbc64e8e64c5a2780c47e25db230cfe21.tar.gz
Remove unused pointer.
Approved by: ariff
Diffstat (limited to 'sys/dev/sound/pci/cmi.c')
-rw-r--r--sys/dev/sound/pci/cmi.c2
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");
OpenPOWER on IntegriCloud