]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: android: Remove unnecessary parentheses.
authorElise Lennion <elise.lennion@gmail.com>
Tue, 18 Oct 2016 00:00:07 +0000 (22:00 -0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Oct 2016 13:33:27 +0000 (15:33 +0200)
commit9fdd532c51ce9c8f08fea329e74ec8021568b97b
tree0c8dd535f57c5fea99a50fa7bc4253a08f172d9f
parentf9bee6dd24addfa00c2c8d50c25b73efbfbb28ba
staging: android: 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
)

Signed-off-by: Elise Lennion <elise.lennion@gmail.com>
Acked-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion_system_heap.c