[hipl-commit] [trunk] Rev 3879: Remove pointless #ifdef CONFIG_HIP_PFKEY around the complete file.

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Tue, 9 Mar 2010 18:39:38 +0200

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: Tue Mar 09 17:39:01 2010 +0100
Revision: 3879
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Remove pointless #ifdef CONFIG_HIP_PFKEY around the complete file.
  It is only ever compiled if that condition is true.

Modified:
  M  hipd/pfkeyapi.c

=== modified file 'hipd/pfkeyapi.c'
--- hipd/pfkeyapi.c     2010-03-05 08:47:53 +0000
+++ hipd/pfkeyapi.c     2010-03-09 16:39:01 +0000
@@ -12,7 +12,6 @@
   #include "config.h"
 #endif /* HAVE_CONFIG_H */
 
-#ifdef CONFIG_HIP_PFKEY
 #include <linux/pfkeyv2.h>
 #include <linux/ipsec.h>
 #include "lib/ipsec/libpfkey.h"
@@ -440,5 +439,3 @@
     HIP_DEBUG("\n");
     return 0;
 }
-
-#endif /* CONFIG_HIP_PFKEY */

Other related posts:

  • » [hipl-commit] [trunk] Rev 3879: Remove pointless #ifdef CONFIG_HIP_PFKEY around the complete file. - Diego Biurrun