--- a/sys/dev/sound/pcm/dsp.c +++ b/sys/dev/sound/pcm/dsp.c @@ -2379,7 +2379,7 @@ int dsp_clone(struct dev_clone_args *ap) { struct cdev *i_dev = ap->a_head.a_dev; struct snddev_info *d; struct snd_clone_entry *ce; struct pcm_channel *c; int i, unit, udcmask, cunit, devtype, devhw, devcmax, tumax; size_t len; char sname[64]; int err = EBUSY; - static struct cdev *dev = NULL; + struct cdev *dev = NULL; KASSERT(dsp_umax >= 0 && dsp_cmax >= 0, ("Uninitialized unit!"));