summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorVlastimil Babka (SUSE) <vbabka@kernel.org>2026-07-27 14:53:56 +0200
committerVlastimil Babka (SUSE) <vbabka@kernel.org>2026-07-31 15:50:47 +0200
commita867ffa398f24f22384eb5aa4fac182026b95692 (patch)
tree22135e1081442c0179ece7b9b6fa80876b1220de /scripts
parent3a11935cd3e8c78a747c3b4144488926f9226329 (diff)
downloadlinux-next-a867ffa398f24f22384eb5aa4fac182026b95692.tar.gz
linux-next-a867ffa398f24f22384eb5aa4fac182026b95692.zip
mm/slab: remove objs_per_slab()
The function has an unused kmem_cache argument and almost nothing uses it anyway; doing slab->objects is simpler. Remove it with the last two users. KUNIT_EXPECT_EQ() needs a cast to avoid "error: ‘typeof’ applied to a bit-field" but we don't need to keep a wrapper just for that. Reviewed-by: Suren Baghdasaryan <surenb@google.com> Reviewed-by: Harry Yoo (Oracle) <harry@kernel.org> Reviewed-by: Hao Li <hao.li@linux.dev> Link: https://patch.msgid.link/20260727-b4-objext_split-v3-2-c29ef0f1f257@kernel.org Signed-off-by: Vlastimil Babka (SUSE) <vbabka@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions