dect
/
asterisk
Archived
13
0
Fork 0

remove useless code (bug #4492)

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5885 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
kpfleming 2005-06-09 20:43:54 +00:00
parent dd630cc450
commit 7e528a8846
1 changed files with 0 additions and 10 deletions

View File

@ -658,18 +658,8 @@ static int retrans_pkt(void *data)
{
struct mgcp_gateway *gw = (struct mgcp_gateway *)data;
struct mgcp_message *cur, *exq = NULL, *w, *prev;
struct timeval tv;
unsigned long t;
int res = 0;
if (gettimeofday(&tv, NULL) < 0) {
/* This shouldn't ever happen, but let's be sure */
ast_log(LOG_NOTICE, "gettimeofday() failed!\n");
return 0;
}
t = tv.tv_sec * 1000 + tv.tv_usec / 1000;
/* find out expired msgs */
ast_mutex_lock(&gw->msgs_lock);