[ripd, ripngd] Remove useless code in rip_vty_out_uptime function

2007-04-27 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

	* ripd/ripd.c: (rip_vty_out_uptime) Remove unused variable timer_now.
	* ripngd/ripngd.c: (ripng_vty_out_uptime) Remove unused variable
	  timer_now.
diff --git a/ripd/ChangeLog b/ripd/ChangeLog
index 066c527..cb24e26 100644
--- a/ripd/ChangeLog
+++ b/ripd/ChangeLog
@@ -1,3 +1,7 @@
+2007-04-27 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
+
+	* ripd.c: (rip_vty_out_uptime) Remove unused variable timer_now.
+
 2007-04-11 Emmanuel Vize <emmanuel.vize@6wind.com>
 
 	* ripd.c: (rip_vty_out_uptime) Use new thread_timer_remain_second
diff --git a/ripd/ripd.c b/ripd/ripd.c
index fb5b177..7c463d5 100644
--- a/ripd/ripd.c
+++ b/ripd/ripd.c
@@ -3378,15 +3378,12 @@
 static void
 rip_vty_out_uptime (struct vty *vty, struct rip_info *rinfo)
 {
-  struct timeval timer_now;
   time_t clock;
   struct tm *tm;
 #define TIME_BUF 25
   char timebuf [TIME_BUF];
   struct thread *thread;
 
-  gettimeofday (&timer_now, NULL);
-
   if ((thread = rinfo->t_timeout) != NULL)
     {
       clock = thread_timer_remain_second (thread);