staging: android: Remove unnecessary parentheses.
PATCH 2/3 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 <[email protected]>
--- drivers/staging/android/ion/ion_system_heap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/android/ion/ion_system_heap.c +1 -1
@@ -30,7 +30,7 @@static gfp_t high_order_gfp_flags = (GFP_HIGHUSER | __GFP_ZERO | __GFP_NOWARN | __GFP_NORETRY) & ~__GFP_RECLAIM; -static gfp_t low_order_gfp_flags = (GFP_HIGHUSER | __GFP_ZERO); +static gfp_t low_order_gfp_flags =GFP_HIGHUSER | __GFP_ZERO;static const unsigned int orders[] = {8 ,4 ,0 };static int order_to_index (unsigned int order)
Signature · 1 line
2.7.4