OSDN Git Service

net: macb: Free RX ring for all queues
authorHarini Katakam <harini.katakam@xilinx.com>
Fri, 6 Jul 2018 06:48:57 +0000 (12:18 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Jul 2018 11:54:25 +0000 (20:54 +0900)
commite50b770ea5c9eff0013e8ae714d20182ed50d5e6
tree2fff972b1cd6cdd5f8e12c319a38a4683ea306ee
parente1bbdd57047454dad068dc36612dd60a57f4c58f
net: macb: Free RX ring for all queues

rx ring is allocated for all queues in macb_alloc_consistent.
Free the same for all queues instead of just Q0.

Signed-off-by: Harini Katakam <harini.katakam@xilinx.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb_main.c