]> 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)
commit74f47676c16a2c69e5bbae726b2fb45adf1a3ed8
treebfad61c5b4b4e4e4f6b6b5f8ef565cadf8837d9f
parent31750888ad4ce9d2a30f744c4c2ab30aee07f569
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