--- a/lib/do_ypcall.c
+++ b/lib/do_ypcall.c
@@ -44,7 +44,6 @@
 typedef struct dom_binding dom_binding;
 
 static const struct timeval RPCTIMEOUT = {25, 0};
-static const struct timeval UDPTIMEOUT = {5, 0};
 static int const MAXTRIES = 2;
 static pthread_mutex_t ypbindlist_lock = PTHREAD_MUTEX_INITIALIZER;
 static dom_binding *ypbindlist = NULL;
