]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - mm/page_owner.c
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)
commitd9f7979c92f7b34469c1ca5d1f3add6681fd567c
treead8b342028e101065d752fe1fe18199766e289e3
parent0ee930e6cafa048c1925893d0ca89918b2814f2c
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