summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r--payloads/libpayload/include/ctype.h1
-rw-r--r--payloads/libpayload/include/libpayload.h2
-rw-r--r--payloads/libpayload/include/queue.h3
-rw-r--r--payloads/libpayload/include/storage/ata.h1
-rw-r--r--payloads/libpayload/include/storage/atapi.h1
-rw-r--r--payloads/libpayload/include/storage/storage.h4
-rw-r--r--payloads/libpayload/include/string.h1
7 files changed, 0 insertions, 13 deletions
diff --git a/payloads/libpayload/include/ctype.h b/payloads/libpayload/include/ctype.h
index c1ca698e1c..98cb306180 100644
--- a/payloads/libpayload/include/ctype.h
+++ b/payloads/libpayload/include/ctype.h
@@ -50,5 +50,4 @@ int tolower(int c);
int toupper(int c);
/** @} */
-
#endif
diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h
index 25080d85ed..01d71b8e61 100644
--- a/payloads/libpayload/include/libpayload.h
+++ b/payloads/libpayload/include/libpayload.h
@@ -456,7 +456,6 @@ static inline int log2(u32 x) { return (int)sizeof(x) * 8 - clz(x) - 1; }
static inline int __ffs(u32 x) { return log2(x & (u32)(-(s32)x)); }
/** @} */
-
/**
* @defgroup mmio MMIO helper functions
* @{
@@ -475,7 +474,6 @@ static inline void buffer_to_fifo32(void *buffer, size_t size, void *fifo,
#endif
/** @} */
-
/**
* @defgroup hash Hashing functions
* @{
diff --git a/payloads/libpayload/include/queue.h b/payloads/libpayload/include/queue.h
index 7d579a7bc4..c9ac701987 100644
--- a/payloads/libpayload/include/queue.h
+++ b/payloads/libpayload/include/queue.h
@@ -344,7 +344,6 @@ struct { \
#define XSIMPLEQ_EMPTY(head) (XSIMPLEQ_FIRST(head) == XSIMPLEQ_END(head))
#define XSIMPLEQ_NEXT(head, elm, field) XSIMPLEQ_XOR(head, ((elm)->field.sqx_next))
-
#define XSIMPLEQ_FOREACH(var, head, field) \
for ((var) = XSIMPLEQ_FIRST(head); \
(var) != XSIMPLEQ_END(head); \
@@ -398,7 +397,6 @@ struct { \
XSIMPLEQ_XOR(head, &(elm)->field.sqx_next); \
} while (0)
-
/*
* Tail queue definitions.
*/
@@ -442,7 +440,6 @@ struct { \
((tvar) = TAILQ_NEXT(var, field), 1); \
(var) = (tvar))
-
#define TAILQ_FOREACH_REVERSE(var, head, headname, field) \
for((var) = TAILQ_LAST(head, headname); \
(var) != TAILQ_END(head); \
diff --git a/payloads/libpayload/include/storage/ata.h b/payloads/libpayload/include/storage/ata.h
index 39937dbe34..43249e7513 100644
--- a/payloads/libpayload/include/storage/ata.h
+++ b/payloads/libpayload/include/storage/ata.h
@@ -33,7 +33,6 @@
#include "storage.h"
-
/* ATA commands */
enum {
ATA_READ_DMA = 0xc8,
diff --git a/payloads/libpayload/include/storage/atapi.h b/payloads/libpayload/include/storage/atapi.h
index eea5c332f8..5a6e244032 100644
--- a/payloads/libpayload/include/storage/atapi.h
+++ b/payloads/libpayload/include/storage/atapi.h
@@ -34,7 +34,6 @@
#include "storage.h"
#include "ata.h"
-
/* ATAPI commands */
enum {
ATAPI_TEST_UNIT_READY = 0x00,
diff --git a/payloads/libpayload/include/storage/storage.h b/payloads/libpayload/include/storage/storage.h
index 7a2a84bef7..32933fd97c 100644
--- a/payloads/libpayload/include/storage/storage.h
+++ b/payloads/libpayload/include/storage/storage.h
@@ -32,14 +32,12 @@
#include <stdint.h>
#include <unistd.h>
-
#if !CONFIG(LP_STORAGE_64BIT_LBA)
typedef u32 lba_t;
#else
typedef u64 lba_t;
#endif
-
typedef enum {
PORT_TYPE_IDE = (1 << 0),
PORT_TYPE_SATA = (1 << 1),
@@ -54,7 +52,6 @@ typedef enum {
POLL_MEDIUM_PRESENT = 1,
} storage_poll_t;
-
struct storage_dev;
typedef struct storage_dev {
@@ -70,7 +67,6 @@ typedef struct storage_dev {
int storage_device_count(void);
int storage_attach_device(storage_dev_t *dev);
-
storage_poll_t storage_probe(size_t dev_num);
ssize_t storage_read_blocks512(size_t dev_num, lba_t start, size_t count, unsigned char *buf);
diff --git a/payloads/libpayload/include/string.h b/payloads/libpayload/include/string.h
index ca263e4410..393881d9cc 100644
--- a/payloads/libpayload/include/string.h
+++ b/payloads/libpayload/include/string.h
@@ -83,5 +83,4 @@ size_t strlcpy(char *d, const char *s, size_t n);
size_t strlcat(char *d, const char *s, size_t n);
/** @} */
-
#endif