summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2010-09-20 20:34:40 +0000
committerShaun Ruffell <sruffell@digium.com>2010-09-20 20:34:40 +0000
commite0a34c3567368308e1c3d7689f3db8edd7fa1e25 (patch)
tree729f4b09b650b276f529af1908a8dafae34ef57a /include
parente0d11083191c7fe0c307768ebaa70098fa577c5a (diff)
dahdi: Remove redundant 'gainalloc' member from struct dahdi_chan.
I want to add some new members to dahdi_chan, but I don't want to increase the overall size any more than necessary. Review: https://reviewboard.asterisk.org/r/905/ Signed-off-by: Shaun Ruffell <sruffell@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9385 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include')
-rw-r--r--include/dahdi/kernel.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h
index eeb40c1..7a12227 100644
--- a/include/dahdi/kernel.h
+++ b/include/dahdi/kernel.h
@@ -425,12 +425,9 @@ struct dahdi_chan {
short *readchunkpreec;
/*! Pointer to tx and rx gain tables */
- u_char *rxgain;
- u_char *txgain;
+ const u_char *rxgain;
+ const u_char *txgain;
- /*! Whether or not we have allocated gains or are using the default */
- int gainalloc;
-
/* Specified by driver, readable by DAHDI */
void *pvt; /*!< Private channel data */
struct file *file; /*!< File structure */