summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp/card_fxo.c
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2011-06-02 20:00:36 +0000
committerShaun Ruffell <sruffell@digium.com>2011-06-02 20:00:36 +0000
commitf6ad12112070dcf07952a04f53f35060fcee5ac9 (patch)
tree3878c6f64274cf0d0cd5eafd5b4b98e050b09d9a /drivers/dahdi/xpp/card_fxo.c
parent92bdc098861b2c8e817bb778afe6de171dc14d8b (diff)
Remove unused variables.
gcc-4.6 now warns about variables that are set but never used. Clean up unused variables everywhere except the oct612x subdirectory. The oct612x should go in a separate patch in case that needs to be pulled out into a separate project again. 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@9929 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/card_fxo.c')
-rw-r--r--drivers/dahdi/xpp/card_fxo.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/dahdi/xpp/card_fxo.c b/drivers/dahdi/xpp/card_fxo.c
index 2da9584..f533ac6 100644
--- a/drivers/dahdi/xpp/card_fxo.c
+++ b/drivers/dahdi/xpp/card_fxo.c
@@ -486,10 +486,7 @@ static int FXO_card_init(xbus_t *xbus, xpd_t *xpd)
static int FXO_card_remove(xbus_t *xbus, xpd_t *xpd)
{
- struct FXO_priv_data *priv;
-
BUG_ON(!xpd);
- priv = xpd->priv;
XPD_DBG(GENERAL, xpd, "\n");
fxo_proc_remove(xbus, xpd);
return 0;
@@ -604,10 +601,7 @@ static void dahdi_report_battery(xpd_t *xpd, lineno_t chan)
static int FXO_card_open(xpd_t *xpd, lineno_t chan)
{
- struct FXO_priv_data *priv;
-
BUG_ON(!xpd);
- priv = xpd->priv;
return 0;
}