diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2008-03-22 11:23:12 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2008-03-22 11:23:12 +0000 |
commit | 21c2c5a820a1ddb1cb9664c3b309246bc564d7b3 (patch) | |
tree | 894fa4463efa194afaa24b837de682f225e032b4 /sys/dev/pci | |
parent | 459f96c4328c48b75b15931287d6093f8e12d6d1 (diff) |
remove unused fields from envy_softc structure, no functional change
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/envyvar.h | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/dev/pci/envyvar.h b/sys/dev/pci/envyvar.h index b01fd16f270..217a3c11a63 100644 --- a/sys/dev/pci/envyvar.h +++ b/sys/dev/pci/envyvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: envyvar.h,v 1.4 2008/02/21 01:41:04 ratchov Exp $ */ +/* $OpenBSD: envyvar.h,v 1.5 2008/03/22 11:23:11 ratchov Exp $ */ /* * Copyright (c) 2007 Alexandre Ratchov <alex@caoua.org> * @@ -36,20 +36,6 @@ struct envy_ak { unsigned char reg[8]; /* shadow for ak4524 registers */ }; -/* - * the envy24 have multiple components with their respective mixers - * depending on the configuration of the sound card, so we use - * "submixers" for them - */ -struct envy_submix { - int ndevs; - void (*devinfo)(struct mixer_devinfo *, int); - int (*set)(struct mixer_devinfo *, int); - int (*get)(struct mixer_devinfo *, int); -}; - -#define ENVY_SUBMIX_NMAX 0x10 - struct envy_softc { struct device dev; struct device *audio; @@ -65,8 +51,6 @@ struct envy_softc { bus_space_handle_t mt_ioh; bus_size_t mt_iosz; struct envy_ak ak[4]; - struct envy_submix submix[ENVY_SUBMIX_NMAX]; - int nsubmix; void (*iintr)(void *); void *iarg; void (*ointr)(void *); |