]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: mei_wdt: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Jun 2019 15:58:30 +0000 (17:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Jun 2019 13:46:31 +0000 (15:46 +0200)
commit368ce3548b4b1d25bec5aca879ebf81fbbda8dac
tree25c78537098acf37c0c2613e8ed2c6fec4da87f9
parent8da4be522a81d0cf9dc3e96b89ba4b3d7bd08154
watchdog: mei_wdt: 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: Wim Van Sebroeck <wim@linux-watchdog.org>
Cc: linux-watchdog@vger.kernel.org
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/watchdog/mei_wdt.c