summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp/card_pri.c
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-07-02 13:02:29 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-07-02 13:02:29 +0000
commitef05eedbe6bffbdaaee55f26b0c54a06fd32b6f2 (patch)
tree9ad41b5d77c42f6b5cf7397f4a9005a7a5483024 /drivers/dahdi/xpp/card_pri.c
parent8eebe3930583371de9d168b500e67e8d230d1aaa (diff)
Remove unneeded case for #ifdef DAHDI_SPANSTAT_V2 -
this is always the case for dahdi. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4509 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/card_pri.c')
-rw-r--r--drivers/dahdi/xpp/card_pri.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/dahdi/xpp/card_pri.c b/drivers/dahdi/xpp/card_pri.c
index 551da79..7eb6a58 100644
--- a/drivers/dahdi/xpp/card_pri.c
+++ b/drivers/dahdi/xpp/card_pri.c
@@ -885,9 +885,7 @@ static int PRI_card_dahdi_preregistration(xpd_t *xpd, bool on)
/* Nothing to do yet */
return 0;
}
-#ifdef DAHDI_SPANSTAT_V2
xpd->span.spantype = pri_protocol_name(priv->pri_protocol);
-#endif
xpd->span.linecompat = pri_linecompat(priv->pri_protocol);
xpd->span.deflaw = priv->deflaw;
for_each_line(xpd, i) {