summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wct4xxp
diff options
context:
space:
mode:
authorKinsey Moore <kmoore@digium.com>2010-12-09 20:19:21 +0000
committerKinsey Moore <kmoore@digium.com>2010-12-09 20:19:21 +0000
commit2c00501000487765fe74037315e144c596c09a20 (patch)
tree796bc5c53364d102df44fc308a0d0424d9c35178 /drivers/dahdi/wct4xxp
parentd6aabd12e0c79bac96b8c8a1d5ef725fbb1c4075 (diff)
dahdi-base, kernel, dahdi_echocan_*, wcb4xxp, wct4xxp, wctdm24xxp, wcte12xp: Remove name field from echocan ops
This field was redundant and was only used in places where the factory's name could be used. Signed-off-by: Kinsey Moore <kmoore@digium.com> Acked-by: Shaun Ruffell <sruffell@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9523 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wct4xxp')
-rw-r--r--drivers/dahdi/wct4xxp/base.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/dahdi/wct4xxp/base.c b/drivers/dahdi/wct4xxp/base.c
index 010b41e..71d98f8 100644
--- a/drivers/dahdi/wct4xxp/base.c
+++ b/drivers/dahdi/wct4xxp/base.c
@@ -406,12 +406,10 @@ static const struct dahdi_echocan_features vpm450m_ec_features = {
};
static const struct dahdi_echocan_ops vpm400m_ec_ops = {
- .name = "VPM400M",
.echocan_free = echocan_free,
};
static const struct dahdi_echocan_ops vpm450m_ec_ops = {
- .name = "VPM450M",
.echocan_free = echocan_free,
};
#endif
@@ -1308,7 +1306,8 @@ static int t4_echocan_create(struct dahdi_chan *chan,
if (ecp->param_count > 0) {
dev_warn(&wc->dev->dev, "%s echo canceller does not support "
- "parameters; failing request\n", ops->name);
+ "parameters; failing request\n",
+ chan->ec_factory->name);
return -EINVAL;
}