[hipl-commit] [trunk] Rev 3994: Remove redundant CONFIG_HIP_OPPORTUNISTIC from preprocessor condition.

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Wed, 17 Mar 2010 20:25:10 +0200

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: 17/03/2010 at 20:25:10
Revision: 3994
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Remove redundant CONFIG_HIP_OPPORTUNISTIC from preprocessor condition.
  The whole file is protected by CONFIG_HIP_OPPORTUNISTIC anyway.

Modified:
  M  hipd/oppdb.c

=== modified file 'hipd/oppdb.c'
--- hipd/oppdb.c        2010-03-11 12:43:03 +0000
+++ hipd/oppdb.c        2010-03-17 18:24:26 +0000
@@ -776,7 +776,7 @@
     struct in6_addr *addr;
     //HIP_DEBUG("now=%d e=%d\n", *now, entry->creation_time);
 
-#if defined(CONFIG_HIP_AGENT) && defined(CONFIG_HIP_OPPORTUNISTIC)
+#ifdef CONFIG_HIP_AGENT
     /* If agent is prompting user, let's make sure that
     *  the death counter in maintenance does not expire */
     if (hip_agent_is_alive()) {

Other related posts:

  • » [hipl-commit] [trunk] Rev 3994: Remove redundant CONFIG_HIP_OPPORTUNISTIC from preprocessor condition. - Diego Biurrun