diff options
author | Claudiu Beznea <[email protected]> | 2024-05-31 09:57:20 +0300 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2024-07-10 20:01:33 +0200 |
commit | 900b938335f7fbd401dcba14c8069dbf38ed1f28 (patch) | |
tree | 363b67405080e8d0abdd2c74673a6ff1a1d5c952 /drivers/fpga/xilinx-selectmap.c | |
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 <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-selectmap.c')
0 files changed, 0 insertions, 0 deletions