summaryrefslogtreecommitdiff
path: root/drivers/firmware
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2021-04-29 04:26:29 +0300
committerCatalin Marinas <catalin.marinas@arm.com>2021-04-29 12:22:12 +0300
commit9b924f4f0d8f9557f4ef8a8d1468d507a662cef1 (patch)
tree1ce2339018984711e386e47c94ab7bb5818981aa /drivers/firmware
parent2a20b08f06e70860272bc7f52b5423c1b2f06696 (diff)
downloadlinux-9b924f4f0d8f9557f4ef8a8d1468d507a662cef1.tar.xz
psci: Remove unneeded semicolon
Eliminate the following coccicheck warning: ./drivers/firmware/psci/psci.c:141:2-3: Unneeded semicolon Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Link: https://lore.kernel.org/r/1619659589-4775-1-git-send-email-yang.lee@linux.alibaba.com Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'drivers/firmware')
-rw-r--r--drivers/firmware/psci/psci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/psci/psci.c b/drivers/firmware/psci/psci.c
index f5fc429cae3f..35b355e68e6d 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;
}