can-utils: AOSP build clean up
[profile/ivi/can-utils.git] / isotpserver.c
index d1a4d49..60b0a73 100644 (file)
@@ -1,8 +1,4 @@
 /*
- *  $Id$
- */
-
-/*
  * isotpserver.c
  *
  * Implements a socket server which understands ASCII HEX
@@ -146,7 +142,7 @@ int main(int argc, char **argv)
 
        fd_set readfds;
 
-       int i, ret;
+       int i;
        int nbytes;
 
        int local_port = 0;
@@ -322,7 +318,7 @@ int main(int argc, char **argv)
                FD_SET(sc, &readfds);
                FD_SET(sa, &readfds);
 
-               ret = select((sc > sa)?sc+1:sa+1, &readfds, NULL, NULL, NULL);
+               select((sc > sa)?sc+1:sa+1, &readfds, NULL, NULL, NULL);
 
                if (FD_ISSET(sc, &readfds)) {