[dpdk-dev] [PATCH 5/9] lib: fix misc whitespace
Stephen Hemminger
stephen at networkplumber.org
Thu Jun 4 16:43:23 CEST 2015
From: Stephen Hemminger <shemming at brocade.com>
More places with trailing whitespace, and empty blank lines
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
lib/librte_compat/rte_compat.h | 8 ++++----
lib/librte_hash/rte_fbk_hash.c | 1 -
lib/librte_lpm/rte_lpm.c | 1 -
lib/librte_malloc/malloc_heap.c | 1 -
4 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/lib/librte_compat/rte_compat.h b/lib/librte_compat/rte_compat.h
index 3a0fd2d..fb0dc19 100644
--- a/lib/librte_compat/rte_compat.h
+++ b/lib/librte_compat/rte_compat.h
@@ -54,16 +54,16 @@
* foo is exported as a global symbol.
*
* 2) rename the existing function int foo(char *string) to
- * int __vsym foo_v20(char *string)
+ * int __vsym foo_v20(char *string)
*
* 3) Add this macro immediately below the function
- * VERSION_SYMBOL(foo, _v20, 2.0);
+ * VERSION_SYMBOL(foo, _v20, 2.0);
*
* 4) Implement a new version of foo.
- * char foo(int value, int otherval) { ...}
+ * char foo(int value, int otherval) { ...}
*
* 5) Mark the newest version as the default version
- * BIND_DEFAULT_SYMBOL(foo, 2.1);
+ * BIND_DEFAULT_SYMBOL(foo, 2.1);
*
*/
diff --git a/lib/librte_hash/rte_fbk_hash.c b/lib/librte_hash/rte_fbk_hash.c
index 356ddfe..8752a47 100644
--- a/lib/librte_hash/rte_fbk_hash.c
+++ b/lib/librte_hash/rte_fbk_hash.c
@@ -226,4 +226,3 @@ rte_fbk_hash_free(struct rte_fbk_hash_table *ht)
rte_free(ht);
rte_free(te);
}
-
diff --git a/lib/librte_lpm/rte_lpm.c b/lib/librte_lpm/rte_lpm.c
index 0945b81..0c87a29 100644
--- a/lib/librte_lpm/rte_lpm.c
+++ b/lib/librte_lpm/rte_lpm.c
@@ -1006,4 +1006,3 @@ rte_lpm_delete_all(struct rte_lpm *lpm)
/* Delete all rules form the rules table. */
memset(lpm->rules_tbl, 0, sizeof(lpm->rules_tbl[0]) * lpm->max_rules);
}
-
diff --git a/lib/librte_malloc/malloc_heap.c b/lib/librte_malloc/malloc_heap.c
index defb903..8861d27 100644
--- a/lib/librte_malloc/malloc_heap.c
+++ b/lib/librte_malloc/malloc_heap.c
@@ -206,4 +206,3 @@ malloc_heap_get_stats(const struct malloc_heap *heap,
socket_stats->alloc_count = heap->alloc_count;
return 0;
}
-
--
2.1.4
More information about the dev
mailing list