From: Michael Estner <michaelestner@web.de>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: michaelestner@web.de, linux-staging@lists.linux.dev,
linux-kernel@vger.kernel.org
Subject: [PATCH] Remove uneccessary parantheas
Date: Sat, 25 Sep 2021 21:20:15 +0200 [thread overview]
Message-ID: <20210925192018.6745-1-michaelestner@web.de> (raw)
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
next reply other threads:[~2021-09-25 19:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-25 19:20 Michael Estner [this message]
2021-09-26 6:52 ` [PATCH] Remove uneccessary parantheas Greg Kroah-Hartman
2021-09-26 8:13 ` Fabio M. De Francesco
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210925192018.6745-1-michaelestner@web.de \
--to=michaelestner@web.de \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox