]> Git Repo - linux.git/commit
bnxt_en: Refactor bnxt_free_ctx_mem()
authorHongguang Gao <[email protected]>
Fri, 15 Nov 2024 15:14:29 +0000 (07:14 -0800)
committerJakub Kicinski <[email protected]>
Tue, 19 Nov 2024 03:48:54 +0000 (19:48 -0800)
commit968d2cc07c2fc9a508a53bd2de61200f50206fbc
tree1434a70f4bae61ecdbb7fc4c16c63c50b1c8615e
parent0b350b4927e69d66629099dbb32cad8d2d56a26d
bnxt_en: Refactor bnxt_free_ctx_mem()

Add a new function bnxt_free_one_ctx_mem() to free one context
memory type.  bnxt_free_ctx_mem() now calls the new function in
the loop to free each context memory type.  There is no change in
behavior.  Later patches will further make use of the new function.

Signed-off-by: Hongguang Gao <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
This page took 0.052406 seconds and 4 git commands to generate.