api: Remove duplicate newlines
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
diff --git a/api/api.c b/api/api.c
index d22132f..b892c5c 100644
--- a/api/api.c
+++ b/api/api.c
@@ -180,7 +180,6 @@
return 0;
}
-
/*****************************************************************************
*
* pseudo signature:
@@ -230,7 +229,6 @@
return 0;
}
-
static int API_dev_open(va_list ap)
{
struct device_info *di;
@@ -262,7 +260,6 @@
return err;
}
-
static int API_dev_close(va_list ap)
{
struct device_info *di;
@@ -297,7 +294,6 @@
return err;
}
-
/*
* pseudo signature:
*
@@ -376,7 +372,6 @@
return err;
}
-
/*
* pseudo signature:
*
@@ -462,7 +457,6 @@
return 0;
}
-
/*
* pseudo signature:
*
diff --git a/api/api_storage.c b/api/api_storage.c
index 3d2d9d6..c663e7d 100644
--- a/api/api_storage.c
+++ b/api/api_storage.c
@@ -26,7 +26,6 @@
#define errf(fmt, args...) do { printf("ERROR @ %s(): ", __func__); printf(fmt, ##args); } while (0)
-
#define ENUM_IDE 0
#define ENUM_USB 1
#define ENUM_SCSI 2
@@ -144,7 +143,6 @@
return found;
}
-
/* returns: ENUM_IDE, ENUM_USB etc. based on struct blk_desc */
static int dev_stor_type(struct blk_desc *dd)
@@ -159,7 +157,6 @@
return ENUM_MAX;
}
-
/* returns: 0/1 whether cookie points to some device in this group */
static int dev_is_stor(int type, struct device_info *di)
@@ -167,7 +164,6 @@
return (dev_stor_type(di->cookie) == type) ? 1 : 0;
}
-
static int dev_enum_stor(int type, struct device_info *di)
{
int found = 0, more = 0;
@@ -293,7 +289,6 @@
return 0;
}
-
int dev_open_stor(void *cookie)
{
int type = dev_stor_type(cookie);
@@ -307,7 +302,6 @@
return API_ENODEV;
}
-
int dev_close_stor(void *cookie)
{
/*
@@ -317,7 +311,6 @@
return 0;
}
-
lbasize_t dev_read_stor(void *cookie, void *buf, lbasize_t len, lbastart_t start)
{
int type;
@@ -341,7 +334,6 @@
#endif /* defined(CONFIG_BLK) */
}
-
lbasize_t dev_write_stor(void *cookie, void *buf, lbasize_t len, lbastart_t start)
{
struct blk_desc *dd = (struct blk_desc *)cookie;