net: qed: Remove unnecessary cast
authorAlex Dewar <alex.dewar90@gmail.com>
Thu, 20 Aug 2020 17:47:25 +0000 (18:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Aug 2020 23:16:12 +0000 (16:16 -0700)
commit31ac155cc1e5cdf67dce8208a3071982f5d7fbec
tree2955009c7cbb3f230eaaa43d22c7416c7e963f34
parente6e67768a0b9d6e31ef0bfe94f24659d0e6941f1
net: qed: Remove unnecessary cast

In qed_rdma_destroy_cq() the result of dma_alloc_coherent() is cast from
void* unnecessarily. Remove cast.

Issue identified with Coccinelle.

Signed-off-by: Alex Dewar <alex.dewar90@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_rdma.c