]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: vt6656: Remove unnecessary parentheses.
authorElise Lennion <elise.lennion@gmail.com>
Tue, 18 Oct 2016 00:01:26 +0000 (22:01 -0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Oct 2016 13:35:03 +0000 (15:35 +0200)
commit596f144943812954113f028c915e0b6c08200429
tree74e871ae785172652a09b3cd7e19d4df83dc8efb
parenta0f204a4f79d09a102315a67e1ba27de9fea6c8a
staging: vt6656: Remove unnecessary parentheses.

The removed parentheses are unnecessary and don't add readability.

Found using Coccinelle semantic patch:
@@ expression e, e1, e2; @@
e +=
(
        (e1 == e2)
|
-       (e1)
+       e1
)

@@ expression e, e1, e2; @@
e =
(
        (e1 == e2)
|
-       (e1)
+       e1
)

Signed-off-by: Elise Lennion <elise.lennion@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/mac.c
drivers/staging/vt6656/rf.c