]> git.droids-corp.org - dpdk.git/blobdiff - lib/gpudev/gpudev.c
gpudev: remove unnecessary memory barrier
[dpdk.git] / lib / gpudev / gpudev.c
index 1d8200e71bffc1cce952688708b71a59e8495a1a..9ae36dbae931b835bb67fa4b3791d5079ab827cb 100644 (file)
@@ -877,7 +877,6 @@ rte_gpu_comm_populate_list_pkts(struct rte_gpu_comm_list *comm_list_item,
        RTE_GPU_VOLATILE(comm_list_item->num_pkts) = num_mbufs;
        rte_gpu_wmb(comm_list_item->dev_id);
        RTE_GPU_VOLATILE(comm_list_item->status) = RTE_GPU_COMM_LIST_READY;
-       rte_gpu_wmb(comm_list_item->dev_id);
 
        return 0;
 }