aboutsummaryrefslogtreecommitdiff
path: root/drivers/watchdog/sch311x_wdt.c
diff options
context:
space:
mode:
authorGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2019-06-18 17:58:30 +0200
committerGravatar Wim Van Sebroeck <wim@linux-watchdog.org> 2019-07-08 20:35:10 +0200
commit64079cf9f2b2f93779c1d9772d0e1f5c04bd4d22 (patch)
treea476c42ad987556dde8f0f26b4e40ee476cd6982 /drivers/watchdog/sch311x_wdt.c
parentwatchdog: bcm_kona_wdt: no need to check return value of debugfs_create funct... (diff)
downloadlinux-64079cf9f2b2f93779c1d9772d0e1f5c04bd4d22.tar.gz
linux-64079cf9f2b2f93779c1d9772d0e1f5c04bd4d22.tar.bz2
linux-64079cf9f2b2f93779c1d9772d0e1f5c04bd4d22.zip
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: Guenter Roeck <linux@roeck-us.net> Cc: linux-watchdog@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/sch311x_wdt.c')
0 files changed, 0 insertions, 0 deletions