]> git.baikalelectronics.ru Git - kernel.git/commit
mm: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Mar 2019 23:46:09 +0000 (15:46 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 6 Mar 2019 05:07:17 +0000 (21:07 -0800)
commit54f91477f3074ca415537df3b9707388118af0e5
treead8b342028e101065d752fe1fe18199766e289e3
parent6a63415eeed60807eea60611c08e9217ad50cb19
mm: no need to check return value of debugfs_create functions

When calling debugfs functions, there is no need to ever check the
return value.  The function can work or not, but the code logic should
never do something different based on this.

Link: http://lkml.kernel.org/r/20190122152151.16139-14-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: David Rientjes <rientjes@google.com>
Cc: Laura Abbott <labbott@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/cma_debug.c
mm/failslab.c
mm/gup_benchmark.c
mm/huge_memory.c
mm/memblock.c
mm/memory.c
mm/page_alloc.c
mm/page_owner.c
mm/vmstat.c