OSDN Git Service

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)
commitde2fadf566cb9277bea22993ed95cc5177280251
treebfad61c5b4b4e4e4f6b6b5f8ef565cadf8837d9f
parentf2c7c76c5d0a443053e94adb9f0918fa2fb85c3a
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