diff mbox series

Remove unused compiler attributes from bootloader RAM environment implementation

Message ID 20201210215406.651243-1-sava.jakovljev@teufel.de
State Accepted
Headers show
Series Remove unused compiler attributes from bootloader RAM environment implementation | expand

Commit Message

Sava Jakovljev Dec. 10, 2020, 9:54 p.m. UTC
Signed-off-by: Sava Jakovljev <sava.jakovljev@teufel.de>
---
 bootloader/none.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--
2.26.2
diff mbox series

Patch

diff --git a/bootloader/none.c b/bootloader/none.c
index 57ff121..ffd7959 100644
--- a/bootloader/none.c
+++ b/bootloader/none.c
@@ -12,8 +12,8 @@ 

 static struct dict environment;

-int bootloader_env_set(const char __attribute__ ((__unused__)) *name,
-			const char __attribute__ ((__unused__)) *value)
+int bootloader_env_set(const char *name,
+			const char  *value)
 {
 	dict_set_value(&environment, name, value);

@@ -27,7 +27,7 @@  int bootloader_env_unset(const char *name)
 	return 0;
 }

-char *bootloader_env_get(const char __attribute__ ((__unused__)) *name)
+char *bootloader_env_get(const char  *name)
 {
 	char *value = NULL, *var;