summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcte12xp
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2010-09-11 19:25:47 +0000
committerShaun Ruffell <sruffell@digium.com>2010-09-11 19:25:47 +0000
commite4235c26d701907b99abfaed0f6b9474bf4f9106 (patch)
treed92334f2787df84c07a509ec3be2973b833e91dd /drivers/dahdi/wcte12xp
parent3043f67687319175ffef534fbcc471a86c8ecdea (diff)
wcte12xp: Remove unused functions from t1_span_ops.
'open' and 'close' were already empty. 't1xxp_shutdown' only cleared DAHDI_FLAGBIT_RUNNING which is already done in dahdi-base.c after calling shutdown. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9318 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wcte12xp')
-rw-r--r--drivers/dahdi/wcte12xp/base.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/dahdi/wcte12xp/base.c b/drivers/dahdi/wcte12xp/base.c
index fd60c9a..836324b 100644
--- a/drivers/dahdi/wcte12xp/base.c
+++ b/drivers/dahdi/wcte12xp/base.c
@@ -981,13 +981,6 @@ static int t1xxp_startup(struct dahdi_span *span)
return 0;
}
-static int t1xxp_shutdown(struct dahdi_span *span)
-{
- struct t1 *wc = container_of(span, struct t1, span);
- clear_bit(DAHDI_FLAGBIT_RUNNING, &span->flags);
- return 0;
-}
-
static int t1xxp_chanconfig(struct dahdi_chan *chan, int sigtype)
{
struct t1 *wc = chan->pvt;
@@ -1303,16 +1296,6 @@ static int t1xxp_clear_maint(struct dahdi_span *span)
}
-static int t1xxp_open(struct dahdi_chan *chan)
-{
- return 0;
-}
-
-static int t1xxp_close(struct dahdi_chan *chan)
-{
- return 0;
-}
-
static int t1xxp_ioctl(struct dahdi_chan *chan, unsigned int cmd, unsigned long data)
{
struct t4_regs regs;
@@ -1557,11 +1540,8 @@ static const struct dahdi_span_ops t1_span_ops = {
.spanconfig = t1xxp_spanconfig,
.chanconfig = t1xxp_chanconfig,
.startup = t1xxp_startup,
- .shutdown = t1xxp_shutdown,
.rbsbits = t1xxp_rbsbits,
.maint = t1xxp_maint,
- .open = t1xxp_open,
- .close = t1xxp_close,
.ioctl = t1xxp_ioctl,
#ifdef VPM_SUPPORT
.echocan_create = t1xxp_echocan_create,