staging: pi433: remove unused rf69_get_payload_length function
Function rf69_get_payload_length is unused and should be removed. Signed-off-by: Marcin Ciupak <marcin.s.ciupak@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
db1bad5235
commit
68a87a9a23
|
@ -724,11 +724,6 @@ int rf69_set_payload_length(struct spi_device *spi, u8 payloadLength)
|
||||||
return rf69_write_reg(spi, REG_PAYLOAD_LENGTH, payloadLength);
|
return rf69_write_reg(spi, REG_PAYLOAD_LENGTH, payloadLength);
|
||||||
}
|
}
|
||||||
|
|
||||||
u8 rf69_get_payload_length(struct spi_device *spi)
|
|
||||||
{
|
|
||||||
return (u8)rf69_read_reg(spi, REG_PAYLOAD_LENGTH);
|
|
||||||
}
|
|
||||||
|
|
||||||
int rf69_set_node_address(struct spi_device *spi, u8 nodeAddress)
|
int rf69_set_node_address(struct spi_device *spi, u8 nodeAddress)
|
||||||
{
|
{
|
||||||
return rf69_write_reg(spi, REG_NODEADRS, nodeAddress);
|
return rf69_write_reg(spi, REG_NODEADRS, nodeAddress);
|
||||||
|
|
|
@ -64,7 +64,6 @@ int rf69_enable_crc(struct spi_device *spi);
|
||||||
int rf69_disable_crc(struct spi_device *spi);
|
int rf69_disable_crc(struct spi_device *spi);
|
||||||
int rf69_set_adressFiltering(struct spi_device *spi, enum addressFiltering addressFiltering);
|
int rf69_set_adressFiltering(struct spi_device *spi, enum addressFiltering addressFiltering);
|
||||||
int rf69_set_payload_length(struct spi_device *spi, u8 payloadLength);
|
int rf69_set_payload_length(struct spi_device *spi, u8 payloadLength);
|
||||||
u8 rf69_get_payload_length(struct spi_device *spi);
|
|
||||||
int rf69_set_node_address(struct spi_device *spi, u8 nodeAddress);
|
int rf69_set_node_address(struct spi_device *spi, u8 nodeAddress);
|
||||||
int rf69_set_broadcast_address(struct spi_device *spi, u8 broadcastAddress);
|
int rf69_set_broadcast_address(struct spi_device *spi, u8 broadcastAddress);
|
||||||
int rf69_set_tx_start_condition(struct spi_device *spi, enum txStartCondition txStartCondition);
|
int rf69_set_tx_start_condition(struct spi_device *spi, enum txStartCondition txStartCondition);
|
||||||
|
|
Loading…
Reference in New Issue