mm/slab_common.c: remove test if cache name is accessible
authorMikulas Patocka <[email protected]>
Thu, 5 Apr 2018 23:21:53 +0000 (16:21 -0700)
committerLinus Torvalds <[email protected]>
Fri, 6 Apr 2018 04:36:24 +0000 (21:36 -0700)
commit1ba586de22909f48db78682ee791e0213aba73ae
tree93eac2564a68dc3ce677c889fbb1f605eb9ff98a
parent613a5eb5677923fdaecfa582738c7bcf80abe186
mm/slab_common.c: remove test if cache name is accessible

Since commit db265eca7700 ("mm/sl[aou]b: Move duping of slab name to
slab_common.c"), the kernel always duplicates the slab cache name when
creating a slab cache, so the test if the slab name is accessible is
useless.

Link: http://lkml.kernel.org/r/alpine.LRH.2.02.1803231133310.22626@file01.intranet.prod.int.rdu2.redhat.com
Signed-off-by: Mikulas Patocka <[email protected]>
Acked-by: Christoph Lameter <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/slab_common.c