]> git.droids-corp.org - dpdk.git/blobdiff - drivers/dma/skeleton/skeleton_dmadev.c
dma/cnxk: add channel operations
[dpdk.git] / drivers / dma / skeleton / skeleton_dmadev.c
index 29524171268b36de3b9cf1b9b49078805f731555..d9e4f731d7f990dfdd3758391583835513693891 100644 (file)
@@ -153,7 +153,7 @@ skeldma_stop(struct rte_dma_dev *dev)
        hw->exit_flag = true;
        rte_delay_ms(1);
 
-       pthread_cancel(hw->thread);
+       (void)pthread_cancel(hw->thread);
        pthread_join(hw->thread, NULL);
 
        return 0;