x86/platform/uv: Remove extra parentheses
authorVarsha Rao <[email protected]>
Sun, 20 May 2018 08:00:12 +0000 (13:30 +0530)
committerThomas Gleixner <[email protected]>
Wed, 6 Jun 2018 11:38:01 +0000 (13:38 +0200)
Remove extra parentheses to fix the extraneous parentheses clang
warning.

Suggested-by: Lukas Bulwahn <[email protected]>
Signed-off-by: Varsha Rao <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Nicholas Mc Guire <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
arch/x86/platform/uv/tlb_uv.c

index b36caae0fb2f71ee60f4c169157cdbe6955f9a7c..b96d38288c6005790c75f80dad4737477837fdea 100644 (file)
@@ -615,7 +615,7 @@ static int uv2_3_wait_completion(struct bau_desc *bau_desc,
 
        /* spin on the status MMR, waiting for it to go idle */
        while (descriptor_stat != UV2H_DESC_IDLE) {
-               if ((descriptor_stat == UV2H_DESC_SOURCE_TIMEOUT)) {
+               if (descriptor_stat == UV2H_DESC_SOURCE_TIMEOUT) {
                        /*
                         * A h/w bug on the destination side may
                         * have prevented the message being marked