]> 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)
commit351ac618ed1a4aa688a964a9f0733baa2751b7e5
treec6cf03552f1d0ceb79680120b98eec5247de6e0b
parentce47c0171c88a532e493500a205d769ab510dcab
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