Remove unused pointer.

Approved by:	ariff
This commit is contained in:
Joel Dahl 2006-01-21 09:05:13 +00:00
parent beee67e182
commit 16451fc93a
2 changed files with 0 additions and 5 deletions

View File

@ -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");

View File

@ -712,14 +712,11 @@ sv_probe(device_t dev)
static int
sv_attach(device_t dev) {
struct snddev_info *d;
struct sc_info *sc;
u_int32_t data;
char status[SND_STATUSLEN];
u_long midi_start, games_start, count, sdmaa, sdmac, ml, mu;
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");