]> git.baikalelectronics.ru Git - kernel.git/commit
mic: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Jun 2019 18:43:23 +0000 (20:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Jun 2019 11:47:24 +0000 (13:47 +0200)
commitbbf52e6c2b36f92c5d51e56c221ff16de18bc4c9
tree172b2c96d9583809e794140133ecedc035ddf81e
parent19b7d1a12357c86712b912a1bd1eafea9bc31360
mic: 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: Ashutosh Dixit <ashutosh.dixit@intel.com>
Cc: linux-kernel@vger.kernel.org
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Sudeep Dutt <sudeep.dutt@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mic/card/mic_debugfs.c
drivers/misc/mic/cosm/cosm_debugfs.c
drivers/misc/mic/host/mic_debugfs.c
drivers/misc/mic/scif/scif_debugfs.c
drivers/misc/mic/vop/vop_debugfs.c