summaryrefslogtreecommitdiff
path: root/payloads/libpayload/arch
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-08-19 21:49:34 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2020-09-21 16:20:57 +0000
commit3ff7bcf10e0d07f71ece45267d31ae1f83b04701 (patch)
tree8505dff0b98bee6a50fa10a5ec1a90536ec51fec /payloads/libpayload/arch
parent99e0c7ddc1004b69df65483c029ee8915650223a (diff)
downloadcoreboot-3ff7bcf10e0d07f71ece45267d31ae1f83b04701.tar.xz
payloads: Drop unneeded empty lines
Change-Id: I6faeb7c783052edc4217d2d301dbb905e1fc6a19 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44605 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'payloads/libpayload/arch')
-rw-r--r--payloads/libpayload/arch/arm64/virtual.c1
-rw-r--r--payloads/libpayload/arch/x86/apic.c1
-rw-r--r--payloads/libpayload/arch/x86/delay.c1
-rw-r--r--payloads/libpayload/arch/x86/virtual.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/payloads/libpayload/arch/arm64/virtual.c b/payloads/libpayload/arch/arm64/virtual.c
index 2d336e301e..9450ac0d86 100644
--- a/payloads/libpayload/arch/arm64/virtual.c
+++ b/payloads/libpayload/arch/arm64/virtual.c
@@ -30,7 +30,6 @@
unsigned long virtual_offset = 0;
-
int getpagesize(void)
{
return 4096;
diff --git a/payloads/libpayload/arch/x86/apic.c b/payloads/libpayload/arch/x86/apic.c
index 62011612a5..e0671064c8 100644
--- a/payloads/libpayload/arch/x86/apic.c
+++ b/payloads/libpayload/arch/x86/apic.c
@@ -127,7 +127,6 @@ void apic_start_delay(unsigned int usec)
enable_interrupts();
}
-
void apic_wait_delay(void)
{
/* Loop in case another interrupt has fired and resumed execution. */
diff --git a/payloads/libpayload/arch/x86/delay.c b/payloads/libpayload/arch/x86/delay.c
index df2c0ac9ba..373c8417b3 100644
--- a/payloads/libpayload/arch/x86/delay.c
+++ b/payloads/libpayload/arch/x86/delay.c
@@ -38,7 +38,6 @@
/* Let's assume APIC interrupts take at least 100us */
#define APIC_INTERRUPT_LATENCY_NS (100 * NSECS_PER_USEC)
-
void arch_ndelay(uint64_t ns)
{
uint64_t delta = ns * timer_hz() / NSECS_PER_SEC;
diff --git a/payloads/libpayload/arch/x86/virtual.c b/payloads/libpayload/arch/x86/virtual.c
index 2d336e301e..9450ac0d86 100644
--- a/payloads/libpayload/arch/x86/virtual.c
+++ b/payloads/libpayload/arch/x86/virtual.c
@@ -30,7 +30,6 @@
unsigned long virtual_offset = 0;
-
int getpagesize(void)
{
return 4096;