staging: pi433: remove unnecessary parentheses pointed out by checkpatch.pl
authorPaulo Miguel Almeida <paulo.miguel.almeida.rodenas@gmail.com>
Wed, 22 Dec 2021 07:02:56 +0000 (20:02 +1300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Dec 2021 16:07:56 +0000 (17:07 +0100)
Checkpatch reports 'Unnecessary parentheses around <lines>'.
Fix this by removing extraneous parentheses where applicable.

Signed-off-by: Paulo Miguel Almeida <paulo.miguel.almeida.rodenas@gmail.com>
Link: https://lore.kernel.org/r/20211222070256.GA7644@localhost.localdomain
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/pi433/rf69.c

index dc047bcdf44b05d6dd51a8c456b027be93b3691b..e62e61ef4d27737e50bdc0a682ed4db7351fa2d0 100644 (file)
@@ -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 bandwidth mantisse %u", mantisse);
                return -EINVAL;
        }