]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
net: thunderx: Cleanup receive buffer allocation
authorSunil Goutham <sgoutham@cavium.com>
Tue, 2 May 2017 13:06:53 +0000 (18:36 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 May 2017 19:41:21 +0000 (15:41 -0400)
commit927987f39f116db477fcd74ced2a2aea940e585c
treec6cf03552f1d0ceb79680120b98eec5247de6e0b
parent0dada88b8cd74569abc3dda50f1b268a5868f6f2
net: thunderx: Cleanup receive buffer allocation

Get rid of unnecessary double pointer references and type casting
in receive buffer allocation code.

Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/nicvf_queues.c