diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-07-04 14:04:56 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-07-04 14:04:56 +0000 |
commit | f9dbecb486d1ff041ad35e0e29a026bd71e8db83 (patch) | |
tree | 50a9a229b689b1ab2b34a94df0ccd5a97ea3b413 /drivers/dahdi/xpp/card_bri.c | |
parent | 0400a2e6a773a5f30e271e218f124080f2f355ae (diff) |
xpp: Eliminate "set but unused" compiler warnings.
gcc 4.6 complains about variables that are assigned values but then
never used.
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
Acked-By: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10020 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/card_bri.c')
-rw-r--r-- | drivers/dahdi/xpp/card_bri.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/dahdi/xpp/card_bri.c b/drivers/dahdi/xpp/card_bri.c index 86f0534..518e61f 100644 --- a/drivers/dahdi/xpp/card_bri.c +++ b/drivers/dahdi/xpp/card_bri.c @@ -615,7 +615,6 @@ out: #else static int rx_dchan(xpd_t *xpd, reg_cmd_t *regcmd) { - xbus_t *xbus; struct BRI_priv_data *priv; byte *src; struct dahdi_chan *dchan; @@ -633,7 +632,6 @@ static int rx_dchan(xpd_t *xpd, reg_cmd_t *regcmd) BUG_ON(!xpd); priv = xpd->priv; BUG_ON(!priv); - xbus = xpd->xbus; dchan = XPD_CHAN(xpd, 2); if(!IS_OFFHOOK(xpd, 2)) { /* D-chan is used? */ static int rate_limit; |