mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 18:49:22 -04:00
staging: pi433: Remove unnecessary #ifdef DEBUG around dev_dbg
dev_dbg() already depends on DEBUG. Signed-off-by: Simon Sandström <simon@nikanor.nu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
49f43ef226
commit
b01c3553a9
@@ -767,9 +767,7 @@ int rf69_read_fifo (struct spi_device *spi, u8 *buffer, unsigned int size)
|
||||
int retval;
|
||||
|
||||
if (size > FIFO_SIZE) {
|
||||
#ifdef DEBUG
|
||||
dev_dbg(&spi->dev, "read fifo: passed in buffer bigger then internal buffer\n");
|
||||
#endif
|
||||
return -EMSGSIZE;
|
||||
}
|
||||
|
||||
@@ -801,9 +799,7 @@ int rf69_write_fifo(struct spi_device *spi, u8 *buffer, unsigned int size)
|
||||
u8 local_buffer[FIFO_SIZE + 1];
|
||||
|
||||
if (size > FIFO_SIZE) {
|
||||
#ifdef DEBUG
|
||||
dev_dbg(&spi->dev, "read fifo: passed in buffer bigger then internal buffer\n");
|
||||
#endif
|
||||
return -EMSGSIZE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user