summaryrefslogtreecommitdiff
path: root/zaptel-base.c
diff options
context:
space:
mode:
authorqwell <qwell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-12-04 21:32:14 +0000
committerqwell <qwell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-12-04 21:32:14 +0000
commit11f27f3196823d7227382c2285a85239ea0490f3 (patch)
treeaf73a0a1330d73b7d4b495fd2c0a2c5d15f40da5 /zaptel-base.c
parent28fd0f04a9e54af4c2f8d58c9562c93ab617e82b (diff)
Remove some code that does...well...nothing.
Closes issue #11460, patch by flefoll. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3300 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'zaptel-base.c')
-rw-r--r--zaptel-base.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/zaptel-base.c b/zaptel-base.c
index c2d1013..b1fb873 100644
--- a/zaptel-base.c
+++ b/zaptel-base.c
@@ -460,13 +460,8 @@ static unsigned int in_sig[NUM_SIGS][2] = {
/* if RBS does not apply, return error */
if (!(chan->span->flags & ZT_FLAG_RBS) ||
!chan->span->rbsbits) return(-1);
- if (chan->sig == ZT_SIG_CAS) {
- static int printed = 0;
- if (printed < 10) {
- printed++;
- }
+ if (chan->sig == ZT_SIG_CAS)
return chan->idlebits;
- }
for (x=0;x<NUM_SIGS;x++) {
if (in_sig[x][0] == chan->sig) return(in_sig[x][1]);
} return(-1); /* not found -- error */