Merged revisions 115548 via svnmerge from

https://origsvn.digium.com/svn/asterisk/trunk

........
r115548 | mattf | 2008-05-08 10:04:45 -0500 (Thu, 08 May 2008) | 1 line

Remove unused code as well as demote an error message to a debug message
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Matthew Fredrickson 17 years ago
parent 4909bf569a
commit 886d1aef09

@ -9362,21 +9362,17 @@ static void *ss7_linkset(void *data)
res = ss7_read(ss7, pollers[i].fd); res = ss7_read(ss7, pollers[i].fd);
ast_mutex_unlock(&linkset->lock); ast_mutex_unlock(&linkset->lock);
} }
if (pollers[i].revents & POLLOUT) { if (pollers[i].revents & POLLOUT) {
ast_mutex_lock(&linkset->lock); ast_mutex_lock(&linkset->lock);
res = ss7_write(ss7, pollers[i].fd); res = ss7_write(ss7, pollers[i].fd);
ast_mutex_unlock(&linkset->lock); ast_mutex_unlock(&linkset->lock);
if (res < 0) { if (res < 0) {
ast_log(LOG_ERROR, "Error in write %s", strerror(errno)); ast_debug(1, "Error in write %s\n", strerror(errno));
} }
} }
} }
#if 0
if (res < 0)
exit(-1);
#endif
while ((e = ss7_check_event(ss7))) { while ((e = ss7_check_event(ss7))) {
switch (e->e) { switch (e->e) {
case SS7_EVENT_UP: case SS7_EVENT_UP:

Loading…
Cancel
Save