]> git.baikalelectronics.ru Git - kernel.git/commit
net: sungem: Remove unneeded cast from memory allocation
authorYueHaibing <yuehaibing@huawei.com>
Tue, 1 Sep 2020 14:10:28 +0000 (22:10 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Sep 2020 18:47:59 +0000 (11:47 -0700)
commit78ef1d6d650ebef9dc7bebe66a1774b1c10d777d
treef964b3fba3a879b9d1570f3289be4315e4c64426
parentf3b6093ffb39025a304ed4be24aba88c3e0faf76
net: sungem: Remove unneeded cast from memory allocation

Remove dma_alloc_coherent return value cast.
This is detected by coccinelle.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/sungem.c