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
This commit is contained in:
Tzafrir Cohen 2011-01-10 21:36:41 +00:00
parent 244dd928e5
commit 98aa2844c1

View File

@ -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;
}