linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] firmware: psci: Remove unneeded semicolon
@ 2021-04-28  3:03 Wan Jiabing
  2021-04-28  9:46 ` Lorenzo Pieralisi
  0 siblings, 1 reply; 2+ messages in thread
From: Wan Jiabing @ 2021-04-28  3:03 UTC (permalink / raw)
  To: Mark Rutland, Lorenzo Pieralisi, linux-arm-kernel, linux-kernel
  Cc: kael_w, Wan Jiabing

Fix the following coccicheck warning:

./drivers/firmware/psci/psci.c:141:2-3: Unneeded semicolon

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
 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 64344e84bd63..6e7bac61ba93 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;
 }
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-28  9:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-28  3:03 [PATCH] firmware: psci: Remove unneeded semicolon Wan Jiabing
2021-04-28  9:46 ` Lorenzo Pieralisi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).