[hipl-commit] [trunk] Rev 4243: dead code removal: part III (i3 subdirectory)

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Tue, 13 Apr 2010 13:58:36 +0300

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: 13/04/2010 at 13:58:36
Revision: 4243
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  dead code removal: part III (i3 subdirectory)

Modified:
  M  i3/chord/chord_getfingers.c
  M  i3/chord/chord_traceroute.c
  M  i3/i3_client/http.c

=== modified file 'i3/chord/chord_getfingers.c'
--- i3/chord/chord_getfingers.c 2010-04-10 09:12:33 +0000
+++ i3/chord/chord_getfingers.c 2010-04-13 10:58:26 +0000
@@ -65,7 +65,6 @@
     int nfds;
     int retries = 0;
     byte buf[BUFSIZE];
-//  chordID id;
 
     /* check command line args */
     if (argc < 3) {

=== modified file 'i3/chord/chord_traceroute.c'
--- i3/chord/chord_traceroute.c 2010-04-10 09:12:33 +0000
+++ i3/chord/chord_traceroute.c 2010-04-13 10:58:26 +0000
@@ -40,10 +40,6 @@
     struct iditem_ *next;
 } IDitem;
 
-/*static int unpack_print_getnext(char *buf, int n, unsigned long *succ_addr,
- *                              unsigned short *succ_port);*/
-/*static IDitem *add_chordID(IDitem *head, chordID *id);*/
-/*static int find_chordID(IDitem *head, chordID *id);*/
 static int recv_packet(int in_sock, fd_set fdset, int nfds,
                        char *buf, int buf_len,
                        unsigned long chordsrv_addr, unsigned long 
chordsrv_port);
@@ -76,7 +72,6 @@
 
     for (i = 0; i < ID_LEN; i++) {
         char tmp[3];
-//    char  t;
 
         tmp[0] = argv[1][2 * i];
         tmp[1] = argv[1][2 * i + 1];

=== modified file 'i3/i3_client/http.c'
--- i3/i3_client/http.c 2010-03-09 15:41:40 +0000
+++ i3/i3_client/http.c 2010-04-13 10:58:26 +0000
@@ -131,17 +131,6 @@
         coord_start++;
     }
 
-    /* lat_start = strstr(status_start, " ");
-     * if (lat_start == NULL || lat_start > end)
-     *  return 0;
-     * else
-     *  lat_start++;
-     * long_start = strstr(lat_start, " ");
-     * if (long_start == NULL || long_start > end)
-     *  return 0;
-     * else
-     *  long_start++;*/
-
     /* look for delimiter between ip address and port number ":" ... */
     port_start = strstr(ip_start, ":");
     if (port_start == NULL || port_start >= id_start) {

Other related posts:

  • » [hipl-commit] [trunk] Rev 4243: dead code removal: part III (i3 subdirectory) - Diego Biurrun