treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / powerpc / include / asm / secure_boot.h
bloba2ff556916c66b46c0c45714aa3db84f9e94edb9
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Secure boot definitions
5 * Copyright (C) 2019 IBM Corporation
6 * Author: Nayna Jain
7 */
8 #ifndef _ASM_POWER_SECURE_BOOT_H
9 #define _ASM_POWER_SECURE_BOOT_H
11 #ifdef CONFIG_PPC_SECURE_BOOT
13 bool is_ppc_secureboot_enabled(void);
14 bool is_ppc_trustedboot_enabled(void);
16 #else
18 static inline bool is_ppc_secureboot_enabled(void)
20 return false;
23 static inline bool is_ppc_trustedboot_enabled(void)
25 return false;
28 #endif
29 #endif