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:
parent
244dd928e5
commit
98aa2844c1
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user