Skip to contentSkip to conversation

powerpc/book3s64: remove unneeded semicolon

PATCH New Yang Li 1 participant 1 message Feb 2, 2021 PowerPC

lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 powerpc/book3s64: remove unneeded semicolon

Eliminate the following coccicheck warning:
./arch/powerpc/platforms/pseries/lpar.c:1632:2-3: Unneeded semicolon ./arch/powerpc/platforms/pseries/lpar.c:1663:2-3: Unneeded semicolon

---
 arch/powerpc/platforms/pseries/lpar.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/powerpc/platforms/pseries/lpar.c +2 -2
index 764170f..24889b8 100644
@@ -1629,7 +1629,7 @@ static int pseries_lpar_resize_hpt(unsigned long shift)
 		}
 		msleep(delay);
 		rc = plpar_resize_hpt_prepare(0, shift);
-	};
+	}
 
 	switch (rc) {
 	case H_SUCCESS:
@@ -1663,7 +1663,7 @@ static int pseries_lpar_resize_hpt(unsigned long shift)
 			pr_warn("Unexpected error %d from H_RESIZE_HPT_COMMIT\n",
 				state.commit_rc);
 			return -EIO;
-		};
+		}
 	}
 
 	pr_info("HPT resize to shift %lu complete (%lld ms / %lld ms)\n",
Signature · 1 line
1.8.3.1