MFi386: sys/i386/isa/pcaudio.c revision 1.63

This commit is contained in:
nyan 2001-10-19 11:50:00 +00:00
parent 83f01c8ad9
commit 579f7ab43b

View File

@ -148,7 +148,6 @@ static unsigned char alaw_linear[] = {
};
static int pca_sleep = 0;
static int pca_initialized = 0;
static void pcaintr(struct clockframe *frame);
@ -398,11 +397,6 @@ pcaopen(dev_t dev, int flags, int fmt, struct thread *td)
if (minor(dev) > 0)
return ENXIO;
if (!pca_initialized) {
pca_init();
pca_initialized = 1;
}
/* audio device can only be open by one process */
if (pca_status.open) {
pca_status.queries = 1;