[U-Boot] [U-BOOT][TEST PATCH 2/5] Cosmetic api: api_storage.c Blank line after {

Walt Feasel waltfeasel at gmail.com
Wed Nov 23 07:26:11 CET 2016


Make checkpatch style modification for
CHECK: Blank lines aren't necessary after
an open brace '{'

Signed-off-by: Walt Feasel <waltfeasel at gmail.com>
---
This patch series is to verify a correct patch submission.
Please let me know if there is a problem or preferred
wording for submitting cosmetic patches.

 api/api_storage.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/api/api_storage.c b/api/api_storage.c
index ea44d97..9c4ff5b 100644
--- a/api/api_storage.c
+++ b/api/api_storage.c
@@ -220,7 +220,6 @@ static int dev_enum_stor(int type, struct device_info *di)
 	 */
 
 	if (di->cookie == NULL) {
-
 		debugf("group%d - enum restart\n", type);
 
 		/*
@@ -231,7 +230,6 @@ static int dev_enum_stor(int type, struct device_info *di)
 		specs[type].enum_started = 1;
 
 	} else if (dev_is_stor(type, di)) {
-
 		debugf("group%d - enum continued for the next device\n", type);
 
 		if (specs[type].enum_ended) {
@@ -243,7 +241,6 @@ static int dev_enum_stor(int type, struct device_info *di)
 		found = dev_stor_get(type, 0, &more, di);
 
 	} else {
-
 		if (specs[type].enum_ended) {
 			debugf("group %d - already enumerated, skipping\n", type);
 			return 0;
-- 
2.1.4



More information about the U-Boot mailing list