diff options
author | Xiaolei Wang <[email protected]> | 2024-05-24 13:05:28 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-05-27 16:55:32 -0700 |
commit | bf0497f53c8535f99b72041529d3f7708a6e2c0d (patch) | |
tree | 21620285c420dd6c943f887730e3bdd372d4bbd8 /scripts/generate_rust_analyzer.py | |
parent | 12f86b9af96a8b09969e4392311602f787b40834 (diff) |
net:fec: Add fec_enet_deinit()
When fec_probe() fails or fec_drv_remove() needs to release the
fec queue and remove a NAPI context, therefore add a function
corresponding to fec_enet_init() and call fec_enet_deinit() which
does the opposite to release memory and remove a NAPI context.
Fixes: 59d0f7465644 ("net: fec: init multi queue date structure")
Signed-off-by: Xiaolei Wang <[email protected]>
Reviewed-by: Wei Fang <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions