]> 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)
commitdc5104c1ac7b2c3b9d0984a37f8acb4372a798f2
tree7edf7e6c062ed2479ace8997d6dcbd6d06afc70c
parentb23826a94f3099b5f68762725e200cf59985bd6d
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