summaryrefslogtreecommitdiff
path: root/drivers/misc/genwqe/card_base.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-11 21:41:07 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-18 14:47:25 +0300
commitd7ef4857d947a0c9ba26bfe02bac1629bda9f9a0 (patch)
treea5f64247831cb9d6345f7dab8f500ca98ad072e7 /drivers/misc/genwqe/card_base.h
parent7e9f02a7896bf12bddfa28c4fdc442aa6cc6eda1 (diff)
downloadlinux-d7ef4857d947a0c9ba26bfe02bac1629bda9f9a0.tar.xz
genwq: 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: Frank Haverkamp <haver@linux.ibm.com> Cc: linux-kernel@vger.kernel.org Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/genwqe/card_base.h')
-rw-r--r--drivers/misc/genwqe/card_base.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/genwqe/card_base.h b/drivers/misc/genwqe/card_base.h
index 77ed3967c5b0..d9e4a6e5fe3c 100644
--- a/drivers/misc/genwqe/card_base.h
+++ b/drivers/misc/genwqe/card_base.h
@@ -445,7 +445,7 @@ int genwqe_device_create(struct genwqe_dev *cd);
int genwqe_device_remove(struct genwqe_dev *cd);
/* debugfs */
-int genwqe_init_debugfs(struct genwqe_dev *cd);
+void genwqe_init_debugfs(struct genwqe_dev *cd);
void genqwe_exit_debugfs(struct genwqe_dev *cd);
int genwqe_read_softreset(struct genwqe_dev *cd);