diff options
author | Kunwu Chan <chentao@kylinos.cn> | 2024-01-31 16:45:49 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-02-02 12:17:32 +0000 |
commit | fa33b35f86b8010938e474643ef4f88b62a9b262 (patch) | |
tree | 0a30efdeaf85f563baba0769e9f2931b9448330f /drivers/net/ethernet/intel/ice/ice_lib.h | |
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 <chentao@kylinos.cn>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Acked-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.h')
0 files changed, 0 insertions, 0 deletions