mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
staging: pi433: Remove unused variable.
Remove unused variable which is used to store return value, Detected by Coccinelle semantic patch returnvar.cocci Signed-off-by: Bhagyashri Dighole <digholebhagyashri@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
14e9bb7e9e
commit
3df3162f1d
@ -624,9 +624,7 @@ int rf69_set_preamble_length(struct spi_device *spi, u16 preamble_length)
|
||||
retval = rf69_write_reg(spi, REG_PREAMBLE_MSB, msb);
|
||||
if (retval)
|
||||
return retval;
|
||||
retval = rf69_write_reg(spi, REG_PREAMBLE_LSB, lsb);
|
||||
|
||||
return retval;
|
||||
return rf69_write_reg(spi, REG_PREAMBLE_LSB, lsb);
|
||||
}
|
||||
|
||||
int rf69_enable_sync(struct spi_device *spi)
|
||||
|
Loading…
Reference in New Issue
Block a user