[PATCH 01/45] api: Remove duplicate newlines

Marek Vasut marek.vasut+renesas at mailbox.org
Sat Jul 13 15:18:52 CEST 2024


Drop all duplicate newlines. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
---
Cc: Francesco Dolcini <francesco.dolcini at toradex.com>
Cc: Sean Anderson <seanga2 at gmail.com>
Cc: Simon Glass <sjg at chromium.org>
Cc: Tom Rini <trini at konsulko.com>
Cc: u-boot at lists.denx.de
---
 api/api.c         | 6 ------
 api/api_storage.c | 8 --------
 2 files changed, 14 deletions(-)

diff --git a/api/api.c b/api/api.c
index d22132f62fe..b892c5c278a 100644
--- a/api/api.c
+++ b/api/api.c
@@ -180,7 +180,6 @@ static int API_get_timer(va_list ap)
 	return 0;
 }
 
-
 /*****************************************************************************
  *
  * pseudo signature:
@@ -230,7 +229,6 @@ static int API_dev_enum(va_list ap)
 	return 0;
 }
 
-
 static int API_dev_open(va_list ap)
 {
 	struct device_info *di;
@@ -262,7 +260,6 @@ static int API_dev_open(va_list ap)
 	return err;
 }
 
-
 static int API_dev_close(va_list ap)
 {
 	struct device_info *di;
@@ -297,7 +294,6 @@ static int API_dev_close(va_list ap)
 	return err;
 }
 
-
 /*
  * pseudo signature:
  *
@@ -376,7 +372,6 @@ static int API_dev_write(va_list ap)
 	return err;
 }
 
-
 /*
  * pseudo signature:
  *
@@ -462,7 +457,6 @@ static int API_dev_read(va_list ap)
 	return 0;
 }
 
-
 /*
  * pseudo signature:
  *
diff --git a/api/api_storage.c b/api/api_storage.c
index 3d2d9d6ef4c..c663e7df942 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 @@ static int dev_stor_get(int type, int *more, struct device_info *di)
 	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 @@ static int dev_stor_type(struct blk_desc *dd)
 	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 @@ static int dev_is_stor(int type, struct device_info *di)
 	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 @@ static int dev_stor_is_valid(int type, struct blk_desc *dd)
 	return 0;
 }
 
-
 int dev_open_stor(void *cookie)
 {
 	int type = dev_stor_type(cookie);
@@ -307,7 +302,6 @@ int dev_open_stor(void *cookie)
 	return API_ENODEV;
 }
 
-
 int dev_close_stor(void *cookie)
 {
 	/*
@@ -317,7 +311,6 @@ int dev_close_stor(void *cookie)
 	return 0;
 }
 
-
 lbasize_t dev_read_stor(void *cookie, void *buf, lbasize_t len, lbastart_t start)
 {
 	int type;
@@ -341,7 +334,6 @@ lbasize_t dev_read_stor(void *cookie, void *buf, lbasize_t len, lbastart_t start
 #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;
-- 
2.43.0



More information about the U-Boot mailing list