]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/linuxapp/eal/eal_thread.c
lib: fix unused values
[dpdk.git] / lib / librte_eal / linuxapp / eal / eal_thread.c
index 601614296be8f4cf552591e4e65f0dbc6f4aa9dd..69bc10ee9072d963ab3d1462fbc1d7b73c4c2ab0 100644 (file)
@@ -85,7 +85,6 @@ rte_eal_remote_launch(int (*f)(void *), void *arg, unsigned slave_id)
                rte_panic("cannot write on configuration pipe\n");
 
        /* wait ack */
-       n = 0;
        do {
                n = read(s2m, &c, 1);
        } while (n < 0 && errno == EINTR);
@@ -202,7 +201,6 @@ eal_thread_loop(__attribute__((unused)) void *arg)
                void *fct_arg;
 
                /* wait command */
-               n = 0;
                do {
                        n = read(m2s, &c, 1);
                } while (n < 0 && errno == EINTR);