]> git.baikalelectronics.ru Git - kernel.git/commit
zswap: ignore debugfs_create_dir() return value
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2019 15:21:08 +0000 (16:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Jun 2019 13:39:39 +0000 (15:39 +0200)
commitb7a597170034309054c8e4abd3d1722f3f8b9720
treebfad61c5b4b4e4e4f6b6b5f8ef565cadf8837d9f
parentd83205627bdc954bcd68d3caeed660651e7d9f0d
zswap: ignore debugfs_create_dir() return value

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.

Cc: Seth Jennings <sjenning@redhat.com>
Cc: linux-mm@kvack.org
Acked-by: Dan Streetman <ddstreet@ieee.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
mm/zswap.c