]> git.dujemihanovic.xyz Git - linux.git/commit
net: lan966x: use library helper for freeing tx buffers
authorDaniel Machon <daniel.machon@microchip.com>
Thu, 5 Sep 2024 08:06:37 +0000 (10:06 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 10 Sep 2024 09:04:16 +0000 (11:04 +0200)
commit8cdd0bd02283036130396d70183c15a97f3be6b7
treeea2064f6459c30c7199525d87cd939236e4fad8d
parent29cc3a66a81ddaa237a3fe3c14cf0fc582db25bf
net: lan966x: use library helper for freeing tx buffers

The library has the helper fdma_free_phys() for freeing physical FDMA
memory. Use it in the exit path.

Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/microchip/lan966x/lan966x_fdma.c