diff options
| author | Petr Pavlu <[email protected]> | 2025-06-18 12:26:27 +0000 |
|---|---|---|
| committer | Daniel Gomez <[email protected]> | 2025-07-08 18:52:29 +0000 |
| commit | eb0994a954978f0edd3efb38d0cbe6744df8b83d (patch) | |
| tree | abc6c435da064eaa7e711e192e839aca2becafea /drivers/fpga/microchip-spi.c | |
| parent | module: Fix memory deallocation on error path in move_module() (diff) | |
| download | kernel-eb0994a954978f0edd3efb38d0cbe6744df8b83d.tar.gz kernel-eb0994a954978f0edd3efb38d0cbe6744df8b83d.zip | |
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 <[email protected]>
Reviewed-by: Sami Tolvanen <[email protected]>
Reviewed-by: Daniel Gomez <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Gomez <[email protected]>
Message-ID: <[email protected]>
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions
