OSDN Git Service

infiniband: hfi1: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2019 15:17:55 +0000 (16:17 +0100)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 24 Jan 2019 16:22:29 +0000 (09:22 -0700)
commite77511802560728eadfa87f3a1ac92be42af6f96
tree1cbd8fd1b2d26c36aa6ce0090ec731ff3bc9e1eb
parent5c43276499f912ae7aec06737a3c6e0f0f3ba74b
infiniband: hfi1: 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.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hfi1/debugfs.c
drivers/infiniband/hw/hfi1/fault.c