Skip to contentSkip to conversation

x86: platform: uv: Remove extra parentheses

PATCH New Varsha Rao 2 participants 2 messages May 20, 2018 – Jun 6, 2018

Subsystems (2)
lore
Share & tools
lore

Varsha Rao

author
#0 lore raw

PATCH 1/1 x86: platform: uv: Remove extra parentheses

Remove extra parentheses to fix the extraneous parentheses clang warning.

---
 arch/x86/platform/uv/tlb_uv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/platform/uv/tlb_uv.c +1 -1
index b36caae0fb2f..b96d38288c60 100644
@@ -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
Signature · 1 line
2.17.0
#1 lore raw

[tip:x86/urgent] x86/platform/uv: Remove extra parentheses

x86/platform/uv: Remove extra parentheses
Commit-ID:  cce2946b9b30a9b31a18de737d5010c08076e77f
Gitweb:     https://git.kernel.org/tip/cce2946b9b30a9b31a18de737d5010c08076e77f
Author:     Varsha Rao <[email protected]>
AuthorDate: Sun, 20 May 2018 13:30:12 +0530
Committer:  Thomas Gleixner <[email protected]>
CommitDate: Wed, 6 Jun 2018 13:38:01 +0200

x86/platform/uv: Remove extra parentheses

Remove extra parentheses to fix the extraneous parentheses clang warning.

---
 arch/x86/platform/uv/tlb_uv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/platform/uv/tlb_uv.c +1 -1
index b36caae0fb2f..b96d38288c60 100644
@@ -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