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
This commit is contained in:
Shaun Ruffell
2010-09-20 20:34:40 +00:00
parent 08cfbeb03e
commit 851203c182
2 changed files with 24 additions and 21 deletions

View File

@@ -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 */