diff options
author | Petr Pavlu <petr.pavlu@suse.com> | 2025-06-18 14:26:27 +0200 |
---|---|---|
committer | Daniel Gomez <da.gomez@samsung.com> | 2025-07-08 20:52:29 +0200 |
commit | eb0994a954978f0edd3efb38d0cbe6744df8b83d (patch) | |
tree | abc6c435da064eaa7e711e192e839aca2becafea /net/lapb/lapb_timer.c | |
parent | ca3881f6fd8e9b6eb2d51e8718d07d3b8029d886 (diff) |
module: Avoid unnecessary return value initialization in move_module()
All error conditions in move_module() set the return value by updating the
ret variable. Therefore, it is not necessary to the initialize the variable
when declaring it.
Remove the unnecessary initialization.
Signed-off-by: Petr Pavlu <petr.pavlu@suse.com>
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Reviewed-by: Daniel Gomez <da.gomez@samsung.com>
Link: https://lore.kernel.org/r/20250618122730.51324-3-petr.pavlu@suse.com
Signed-off-by: Daniel Gomez <da.gomez@samsung.com>
Message-ID: <20250618122730.51324-3-petr.pavlu@suse.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions