summaryrefslogtreecommitdiff
path: root/src/security/vboot
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-06-16 15:45:36 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-06-21 08:48:51 +0000
commiteb1dea8faf3ead8599848f1f85cebe8756704b06 (patch)
tree0bb761a8da1c7c243063c6cfaf462cabfcf2162a /src/security/vboot
parentf371b051b0221e9f391f197d0960a201aefa39b8 (diff)
downloadcoreboot-eb1dea8faf3ead8599848f1f85cebe8756704b06.tar.xz
security/vboot: Remove useless 'const'
Change-Id: I3b5ca272abffe46c6a63251cf4905780f87a6836 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33540 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Joel Kitching <kitching@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/security/vboot')
-rw-r--r--src/security/vboot/common.c2
-rw-r--r--src/security/vboot/misc.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/security/vboot/common.c b/src/security/vboot/common.c
index 8f8165a7c5..bd72683e00 100644
--- a/src/security/vboot/common.c
+++ b/src/security/vboot/common.c
@@ -24,7 +24,7 @@
#include <security/vboot/symbols.h>
#include <security/vboot/vboot_common.h>
-struct vboot_working_data * const vboot_get_working_data(void)
+struct vboot_working_data *vboot_get_working_data(void)
{
struct vboot_working_data *wd = NULL;
diff --git a/src/security/vboot/misc.h b/src/security/vboot/misc.h
index acb6dbbd02..725f5fd436 100644
--- a/src/security/vboot/misc.h
+++ b/src/security/vboot/misc.h
@@ -53,7 +53,7 @@ struct vboot_working_data {
/*
* Source: security/vboot/common.c
*/
-struct vboot_working_data * const vboot_get_working_data(void);
+struct vboot_working_data *vboot_get_working_data(void);
void vboot_init_work_context(struct vb2_context *ctx);
void vboot_finalize_work_context(struct vb2_context *ctx);
struct vb2_shared_data *vboot_get_shared_data(void);