From: Marek Vasut Date: Sat, 13 Jul 2024 13:18:52 +0000 (+0200) Subject: api: Remove duplicate newlines X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=df34fab6a1dfc9565c6f44b80e912645d0bb51d5;p=u-boot.git api: Remove duplicate newlines Drop all duplicate newlines. No functional change. Signed-off-by: Marek Vasut --- diff --git a/api/api.c b/api/api.c index d22132f62f..b892c5c278 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 3d2d9d6ef4..c663e7df94 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;