diff options
author | Kunwu Chan <[email protected]> | 2024-01-31 16:45:49 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-02-02 12:17:32 +0000 |
commit | fa33b35f86b8010938e474643ef4f88b62a9b262 (patch) | |
tree | 0a30efdeaf85f563baba0769e9f2931b9448330f /lib/string_helpers.c | |
parent | 49d703c8f4514e5ab127be387102b478fdae40c2 (diff) |
sctp: Simplify the allocation of slab caches
commit 0a31bd5f2bbb ("KMEM_CACHE(): simplify slab cache creation")
introduces a new macro.
Use the new KMEM_CACHE() macro instead of direct kmem_cache_create
to simplify the creation of SLAB caches.
Signed-off-by: Kunwu Chan <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Acked-by: Xin Long <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions