From 43039943cdbb5f93a5bfb06d67740f04d25db168 Mon Sep 17 00:00:00 2001 From: Marc Hartmayer Date: Tue, 23 Nov 2021 08:34:19 +0000 Subject: [PATCH] genprotimg/boot: remove useless volatile keyword MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There is no reason to declare the variable @psw on the stack as volatile. Signed-off-by: Marc Hartmayer Acked-by: Steffen Eiden Signed-off-by: Jan Höppner --- genprotimg/boot/stage3b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genprotimg/boot/stage3b.c b/genprotimg/boot/stage3b.c index 7733b311..4b5a28d2 100644 --- a/genprotimg/boot/stage3b.c +++ b/genprotimg/boot/stage3b.c @@ -34,7 +34,7 @@ void __noreturn start(void) volatile struct memblob *kernel = &args->kernel; volatile struct memblob *cmdline = &args->cmdline; volatile struct memblob *initrd = &args->initrd; - volatile struct psw_t psw = args->psw; + struct psw_t psw = args->psw; /* set up ASCII and line-mode */ sclp_setup(SCLP_LINE_ASCII_INIT);