summaryrefslogtreecommitdiff
path: root/drivers/dahdi/dahdi-base.c
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-01-10 21:36:41 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-01-10 21:36:41 +0000
commit7c6726dddc5fae48f0d9d3e0eeb658c5987df7ca (patch)
tree9bf40767b2294a9b8e3fd700d96300fd2c430f3f /drivers/dahdi/dahdi-base.c
parent75e299f20fbba1ddfcb983d7be3da27eb0152e95 (diff)
Pass error val from dahdi_register_echocan_factory
Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> Acked-by: Shaun Ruffell <sruffell@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9624 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/dahdi-base.c')
-rw-r--r--drivers/dahdi/dahdi-base.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dahdi/dahdi-base.c b/drivers/dahdi/dahdi-base.c
index 48666d3..d0849d3 100644
--- a/drivers/dahdi/dahdi-base.c
+++ b/drivers/dahdi/dahdi-base.c
@@ -9452,7 +9452,6 @@ static int __init dahdi_init(void)
res = dahdi_register_echocan_factory(&hwec_factory);
if (res) {
WARN_ON(1);
- res = -EFAULT;
goto failed_register_ec_factory;
}