diff options
| author | 2024-01-31 16:45:49 +0800 | |
|---|---|---|
| committer | 2024-02-02 12:17:32 +0000 | |
| commit | fa33b35f86b8010938e474643ef4f88b62a9b262 (patch) | |
| tree | 0a30efdeaf85f563baba0769e9f2931b9448330f /drivers/net/ethernet/intel/ice/ice_lib.c | |
| parent | Merge branch 'octeontx2-af-dynamically-allocate-BPIDs' (diff) | |
| download | wireguard-linux-fa33b35f86b8010938e474643ef4f88b62a9b262.tar.xz wireguard-linux-fa33b35f86b8010938e474643ef4f88b62a9b262.zip | |
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.c')
0 files changed, 0 insertions, 0 deletions
