All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Remove uneccessary parantheas
@ 2021-09-25 19:20 Michael Estner
  2021-09-26  6:52 ` Greg Kroah-Hartman
  2021-09-26  8:13 ` Fabio M. De Francesco
  0 siblings, 2 replies; 3+ messages in thread
From: Michael Estner @ 2021-09-25 19:20 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: michaelestner, linux-staging, linux-kernel

Fix to be conform with the checkpatch style requirements

Signed-off-by: Michael Estner <michaelestner@web.de>
---
 drivers/staging/pi433/rf69.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/pi433/rf69.c b/drivers/staging/pi433/rf69.c
index 7d86bb8be245..980afa801e08 100644
--- a/drivers/staging/pi433/rf69.c
+++ b/drivers/staging/pi433/rf69.c
@@ -470,9 +470,9 @@ static int rf69_set_bandwidth_intern(struct spi_device *spi, u8 reg,
 		return -EINVAL;
 	}

-	if ((mantisse != mantisse16) &&
-	    (mantisse != mantisse20) &&
-	    (mantisse != mantisse24)) {
+	if (mantisse != mantisse16 &&
+	    mantisse != mantisse20 &&
+	    mantisse != mantisse24) {
 		dev_dbg(&spi->dev, "set: illegal input param");
 		return -EINVAL;
 	}
--
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-26  8:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-25 19:20 [PATCH] Remove uneccessary parantheas Michael Estner
2021-09-26  6:52 ` Greg Kroah-Hartman
2021-09-26  8:13 ` Fabio M. De Francesco

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.