From be37fbcf490115bb16ddb1a719aad6344ba25717 Mon Sep 17 00:00:00 2001 From: Russ Meyerriecks Date: Thu, 4 Oct 2012 20:24:37 +0000 Subject: 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 Signed-off-by: Russ Meyerriecks git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10730 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- include/dahdi/kernel.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include') 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 */ -- cgit v1.2.3