Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b01c3553 authored by Simon Sandström's avatar Simon Sandström Committed by Greg Kroah-Hartman
Browse files

staging: pi433: Remove unnecessary #ifdef DEBUG around dev_dbg



dev_dbg() already depends on DEBUG.

Signed-off-by: default avatarSimon Sandström <simon@nikanor.nu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 49f43ef2
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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;
	}