[hipl-commit] [trunk] Rev 4304: Remove another overlooked disabled code block.

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Fri, 16 Apr 2010 01:52:31 +0300

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: 16/04/2010 at 01:52:31
Revision: 4304
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Remove another overlooked disabled code block.

Modified:
  M  test/hashtest.c

=== modified file 'test/hashtest.c'
--- test/hashtest.c     2010-04-15 22:48:55 +0000
+++ test/hashtest.c     2010-04-15 22:52:16 +0000
@@ -68,22 +68,6 @@
 
 static void hip_init_socket_db(void)
 {
-#if 0
-    memset(&socketdb, 0, sizeof(socketdb));
-
-    socketdb.head     =      socketdb;
-    socketdb.hashsize =  HIP_SOCKETDB_SIZE;
-    socketdb.offset   =    offsetof(hip_opp_socket_t, next_entry);
-    socketdb.hash     =      hip_hash_pid_socket;
-    socketdb.compare  =   hip_socketdb_match;
-    socketdb.hold     =      hip_socketdb_hold_entry;
-    socketdb.put      =       hip_socketdb_put_entry;
-    socketdb.get_key  =   hip_socketdb_get_key;
-
-    strncpy(socketdb.name, "SOCKETDB_BYPSOC", 15);
-    socketdb.name[15] = 0;
-
-#endif
     socketdb          = (HIP_HASHTABLE *) hip_ht_init(hip_hash_pid_socket,
                                                       hip_socketdb_match);
     if (!socketdb) {

Other related posts:

  • » [hipl-commit] [trunk] Rev 4304: Remove another overlooked disabled code block. - Diego Biurrun