dahdi: Remove unused 'rxbufpolicy' and 'rxdisable' from dahdi_chan.

Since r5021 [1], first released in DAHDI-Linux 2.2.0, it's been impossible for
user space to change the rxbufpolicy. This hasn't caused any problems and it's
safe to remove a few more of the vestiges of the rxbufpolicy from the driver.

This streamlines the code path in a few places and saves 8 bytes from the size
of struct dahdi_chan.

The user visible parts are maintained and will indicate
DAHDI_POLICY_IMMEDIATE, like it has since 2.2.0.

[1] http://svnview.digium.com/svn/dahdi?view=revision&revision=5021

Signed-off-by: Shaun Ruffell <sruffell@digium.com>
Signed-off-by: Russ Meyerriecks <rmeyerriecks@digium.com>

git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10730 a0bf4364-ded3-4de4-8d8a-66a801d63aff
This commit is contained in:
Shaun Ruffell
2012-10-04 20:24:37 +00:00
committed by Russ Meyerriecks
parent d349fe62fe
commit da8b96d725
2 changed files with 12 additions and 33 deletions

View File

@@ -491,10 +491,7 @@ struct dahdi_chan {
int numbufs; /*!< How many buffers in channel */
int txbufpolicy; /*!< Buffer policy */
int rxbufpolicy; /*!< Buffer policy */
int txdisable; /*!< Disable transmitter */
int rxdisable; /*!< Disable receiver */
/* Tone zone stuff */
struct dahdi_zone *curzone; /*!< Zone for selecting tones */