[core] removed unused compare function, removed annoying warning;

v0.5.xx
Alexander Vdolainen 9 years ago
parent ff106b93f0
commit ef491574ee

@ -445,11 +445,6 @@ sxlink_t *__link_minimal_alloc(struct in_addr *addr)
return NULL;
}
static long __cmp_u64(const void *a, const void *b)
{
return *(uint64_t *)a - *(uint64_t *)b;
}
static int __link_second_alloc(sxlink_t *co)
{
usrtc_node_init(&co->csnode, co);
@ -695,7 +690,7 @@ static void *__sxmpl_thread(void *b)
struct timespec wtick;
int dispatch = 0, e;
size_t rd, wr;
ulong_t mid;
ulong_t mid = 0;
#ifdef _PERFPROFILE
struct timeval beg, end;
#endif

Loading…
Cancel
Save