]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: xgifb: Remove unnecessary parentheses.
authorElise Lennion <elise.lennion@gmail.com>
Mon, 17 Oct 2016 23:57:58 +0000 (21:57 -0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Oct 2016 13:35:03 +0000 (15:35 +0200)
commit5bc45c9d1ebaa1734c36f2abf1db85b579888224
tree2e7f9261fdf20fc1e730ebfe8a55af680aa7d6f2
parent596f144943812954113f028c915e0b6c08200429
staging: xgifb: 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/xgifb/vb_setmode.c