lib: remove error checking for debugfs_create_dir()
authorWang Ming <machel@vivo.com>
Thu, 13 Jul 2023 08:24:43 +0000 (16:24 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 18 Aug 2023 17:18:55 +0000 (10:18 -0700)
commitc3d2d45b06581bc23a93dfd7e9e4662e4c0cb29a
tree707a3f7e6f28920964859fc29ab7b1a452376074
parent598f0046e9c3cc31efe975edc326eeaafddcaf92
lib: remove error checking for debugfs_create_dir()

It is expected that most callers should _ignore_ the errors return by
debugfs_create_dir() in err_inject_init().

Link: https://lkml.kernel.org/r/20230713082455.2415-1-machel@vivo.com
Signed-off-by: Wang Ming <machel@vivo.com>
Cc: Akinobu Mita <akinobu.mita@gmail.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/notifier-error-inject.c