summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRuss Meyerriecks <rmeyerreicks@digium.com>2012-10-04 20:24:37 +0000
committerRuss Meyerriecks <rmeyerreicks@digium.com>2012-10-04 20:24:37 +0000
commitbe37fbcf490115bb16ddb1a719aad6344ba25717 (patch)
tree9c023592a278ad377aa243f2d8effc3086f7381c /include
parent40264aaf9511c995ba8dc0bf535c6df4ceacbe9e (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/dahdi/kernel.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h
index b53a7e1..28e236d 100644
--- a/include/dahdi/kernel.h
+++ b/include/dahdi/kernel.h
@@ -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 */