From 8585efadbe30448ed13c0e1d3f1e178848117836 Mon Sep 17 00:00:00 2001 From: Philipp Rudo Date: Tue, 27 Feb 2018 16:00:07 +0100 Subject: [PATCH] zipl: Remove unused inline assembly load MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Philipp Rudo Signed-off-by: Jan Höppner --- zipl/boot/stage2dump.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/zipl/boot/stage2dump.h b/zipl/boot/stage2dump.h index c05b835e..8df4bea1 100644 --- a/zipl/boot/stage2dump.h +++ b/zipl/boot/stage2dump.h @@ -29,19 +29,6 @@ struct stage2dump_parm_tail { extern struct stage2dump_parm_tail parm_tail __attribute__ ((section(".stage2dump.tail"))); -/* - * Load 4 bytes from addr - */ -static inline unsigned int load(unsigned long addr) -{ - unsigned int val; - - asm volatile( - " l %0,0(%1)\n" - : "=d" (val) : "d" (addr) : "cc"); - return val; -} - /* * S390 dump format defines */