]> asedeno.scripts.mit.edu Git - linux.git/commit
mei: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Jun 2019 18:38:16 +0000 (20:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Jun 2019 11:47:25 +0000 (13:47 +0200)
commit5666d896e838c974c535b3949353c83d68ce4384
tree3ee14f0b4af936e24aede02633fc3b30f701bc82
parentd7ef4857d947a0c9ba26bfe02bac1629bda9f9a0
mei: 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: Tomas Winkler <tomas.winkler@intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/debugfs.c
drivers/misc/mei/main.c
drivers/misc/mei/mei_dev.h