diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2021-04-29 09:26:29 +0800 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2021-04-29 10:22:12 +0100 |
commit | 9b924f4f0d8f9557f4ef8a8d1468d507a662cef1 (patch) | |
tree | 1ce2339018984711e386e47c94ab7bb5818981aa /drivers/firmware | |
parent | 2a20b08f06e70860272bc7f52b5423c1b2f06696 (diff) |
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.c | 2 |
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; } |