[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210925192018.6745-1-michaelestner@web.de>
Date: Sat, 25 Sep 2021 21:20:15 +0200
From: Michael Estner <michaelestner@....de>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: michaelestner@....de, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: [PATCH] Remove uneccessary parantheas
Fix to be conform with the checkpatch style requirements
Signed-off-by: Michael Estner <michaelestner@....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
Powered by blists - more mailing lists