aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/microchip-spi.c
diff options
context:
space:
mode:
authorPetr Pavlu <[email protected]>2025-06-18 12:26:27 +0000
committerDaniel Gomez <[email protected]>2025-07-08 18:52:29 +0000
commiteb0994a954978f0edd3efb38d0cbe6744df8b83d (patch)
treeabc6c435da064eaa7e711e192e839aca2becafea /drivers/fpga/microchip-spi.c
parentmodule: Fix memory deallocation on error path in move_module() (diff)
downloadkernel-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