diff options
author | Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> | 2024-05-31 09:57:20 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2024-07-10 20:01:33 +0200 |
commit | 900b938335f7fbd401dcba14c8069dbf38ed1f28 (patch) | |
tree | 363b67405080e8d0abdd2c74673a6ff1a1d5c952 /scripts/gdb/linux/config.py | |
parent | 064319c3fac88e04f53f3460cd24ae90de2d9fb6 (diff) |
watchdog: rzg2l_wdt: Remove comparison with zero
devm_add_action_or_reset() could return -ENOMEM or zero. Thus, remove
comparison with zero of the returning value to make code simpler.
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20240531065723.1085423-7-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions