]> git.baikalelectronics.ru Git - 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)
commit57ea0135c4243d100a3c47896fc6606fe9f73960
treec6cf03552f1d0ceb79680120b98eec5247de6e0b
parent85d92b4b24f68708f673633e53f7be900d3104a9
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