]> rtime.felk.cvut.cz Git - sojka/can-utils.git/blobdiff - canlogserver.c
can-utils: AOSP build clean up
[sojka/can-utils.git] / canlogserver.c
index 6aeb150e4b089a61d593701f2a41895dfa4a6f78..6ad207846eb0d72d11d69ffa294a429eec7d334f 100644 (file)
@@ -1,7 +1,3 @@
-/*
- *  $Id$
- */
-
 /*
  * canlogserver.c
  *
@@ -190,7 +186,7 @@ int main(int argc, char **argv)
        const int canfd_on = 1;
        int nbytes, i, j, maxdlen;
        struct ifreq ifr;
-       struct timeval tv, last_tv;
+       struct timeval tv;
        int port = DEFPORT;
        struct sockaddr_in inaddr;
        struct sockaddr_in clientaddr;
@@ -208,10 +204,6 @@ int main(int argc, char **argv)
        sigaction(SIGTERM, &signalaction, NULL); /* install Signal for termination */
        sigaction(SIGINT, &signalaction, NULL); /* install Signal for termination */
 
-
-       last_tv.tv_sec  = 0;
-       last_tv.tv_usec = 0;
-
        while ((opt = getopt(argc, argv, "m:v:i:e:p:?")) != -1) {
 
                switch (opt) {