[PATCH v2] psci: Remove unneeded semicolon

Yang Li yang.lee at linux.alibaba.com
Thu Apr 29 02:26:29 BST 2021


Eliminate the following coccicheck warning:
./drivers/firmware/psci/psci.c:141:2-3: Unneeded semicolon

Reported-by: Abaci Robot <abaci at linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee at linux.alibaba.com>
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi at arm.com>
---

Change in v2:
--subject should read "psci: Remove unneeded semicolon"

 drivers/firmware/psci/psci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/firmware/psci/psci.c b/drivers/firmware/psci/psci.c
index 64344e8..6e7bac6 100644
--- a/drivers/firmware/psci/psci.c
+++ b/drivers/firmware/psci/psci.c
@@ -138,7 +138,7 @@ static int psci_to_linux_errno(int errno)
 		return -EINVAL;
 	case PSCI_RET_DENIED:
 		return -EPERM;
-	};
+	}
 
 	return -EINVAL;
 }
-- 
1.8.3.1




More information about the linux-arm-kernel mailing list