]> git.baikalelectronics.ru Git - kernel.git/commit
block: aoe: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Jun 2019 19:47:54 +0000 (21:47 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 4 Jun 2019 19:38:23 +0000 (13:38 -0600)
commit5859a0c5f20e0c314b02138b8e29a28276f0ca6d
tree7edf7e6c062ed2479ace8997d6dcbd6d06afc70c
parentfc8012090dcc30b4df46b7429978f66e08b38aff
block: aoe: 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.

Cc: "Ed L. Cashin" <ed.cashin@acm.org>
Cc: linux-block@vger.kernel.org
Cc: Omar Sandoval <osandov@osandov.com>
Acked-by: Justin Sanders <justin@coraid.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/aoe/aoeblk.c