MFi386: sys/i386/isa/pcaudio.c revision 1.63
This commit is contained in:
parent
2e8727d53d
commit
0db7b6f691
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85150
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user