Commit 48c3e65
bnxt_en: Refactor bnxt_free_ctx_mem()
[ Upstream commit 968d2cc ]
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>
Stable-dep-of: 5204943 ("bnxt_en: Fix warning in bnxt_dl_reload_down()")
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 2b8503d commit 48c3e65
1 file changed
+18
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8872 | 8872 | | |
8873 | 8873 | | |
8874 | 8874 | | |
8875 | | - | |
| 8875 | + | |
| 8876 | + | |
8876 | 8877 | | |
8877 | | - | |
8878 | | - | |
8879 | | - | |
8880 | | - | |
8881 | | - | |
8882 | | - | |
8883 | | - | |
8884 | | - | |
8885 | | - | |
8886 | | - | |
| 8878 | + | |
| 8879 | + | |
8887 | 8880 | | |
8888 | | - | |
8889 | | - | |
| 8881 | + | |
| 8882 | + | |
8890 | 8883 | | |
8891 | 8884 | | |
8892 | 8885 | | |
| |||
8896 | 8889 | | |
8897 | 8890 | | |
8898 | 8891 | | |
| 8892 | + | |
| 8893 | + | |
| 8894 | + | |
| 8895 | + | |
| 8896 | + | |
| 8897 | + | |
| 8898 | + | |
| 8899 | + | |
| 8900 | + | |
| 8901 | + | |
| 8902 | + | |
| 8903 | + | |
8899 | 8904 | | |
8900 | 8905 | | |
8901 | 8906 | | |
| |||
0 commit comments