Commit 968d2cc
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 <hongguang.gao@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Link: https://patch.msgid.link/20241115151438.550106-4-michael.chan@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent 0b350b4 commit 968d2cc
1 file changed
+18
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8765 | 8765 | | |
8766 | 8766 | | |
8767 | 8767 | | |
8768 | | - | |
| 8768 | + | |
| 8769 | + | |
8769 | 8770 | | |
8770 | | - | |
8771 | | - | |
8772 | | - | |
8773 | | - | |
8774 | | - | |
8775 | | - | |
8776 | | - | |
8777 | | - | |
8778 | | - | |
8779 | | - | |
| 8771 | + | |
| 8772 | + | |
8780 | 8773 | | |
8781 | | - | |
8782 | | - | |
| 8774 | + | |
| 8775 | + | |
8783 | 8776 | | |
8784 | 8777 | | |
8785 | 8778 | | |
| |||
8789 | 8782 | | |
8790 | 8783 | | |
8791 | 8784 | | |
| 8785 | + | |
| 8786 | + | |
| 8787 | + | |
| 8788 | + | |
| 8789 | + | |
| 8790 | + | |
| 8791 | + | |
| 8792 | + | |
| 8793 | + | |
| 8794 | + | |
| 8795 | + | |
| 8796 | + | |
8792 | 8797 | | |
8793 | 8798 | | |
8794 | 8799 | | |
| |||
0 commit comments