]> rtime.felk.cvut.cz Git - sojka/can-utils.git/blobdiff - isotpserver.c
can-utils: AOSP build clean up
[sojka/can-utils.git] / isotpserver.c
index 5082d128bdeaaca626e3672afc0bc41d9e03c3cd..60b0a738c39033bd1b13955db992036183fc8cb0 100644 (file)
@@ -1,7 +1,3 @@
-/*
- *  $Id$
- */
-
 /*
  * isotpserver.c
  *
@@ -56,7 +52,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
  * DAMAGE.
  *
- * Send feedback to <socketcan-users@lists.berlios.de>
+ * Send feedback to <linux-can@vger.kernel.org>
  *
  */
 
@@ -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)) {