]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commite0241fb0b94399bb4131da7f29dc92cf5dc1ae71
tree7edf7e6c062ed2479ace8997d6dcbd6d06afc70c
parentca09720657fce27f0289dc5082e2cc0c5466eb6d
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