Commit cd84f6cc authored by Oleg Drokin's avatar Oleg Drokin Committed by Greg Kroah-Hartman

staging/lustre/libcfs: Remove empty lines after/before braces

No need for an empty line after opening curvy brace and no need
for an empty line before the closing one too.
Remove them.
Signed-off-by: default avatarOleg Drokin <green@linuxhacker.ru>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b366e6c9
...@@ -125,7 +125,6 @@ struct cfs_crypto_hash_desc * ...@@ -125,7 +125,6 @@ struct cfs_crypto_hash_desc *
cfs_crypto_hash_init(unsigned char alg_id, cfs_crypto_hash_init(unsigned char alg_id,
unsigned char *key, unsigned int key_len) unsigned char *key, unsigned int key_len)
{ {
struct hash_desc *hdesc; struct hash_desc *hdesc;
int err; int err;
const struct cfs_crypto_hash_type *type; const struct cfs_crypto_hash_type *type;
...@@ -212,7 +211,6 @@ static void cfs_crypto_performance_test(unsigned char alg_id, ...@@ -212,7 +211,6 @@ static void cfs_crypto_performance_test(unsigned char alg_id,
hash, &hash_len); hash, &hash_len);
if (err) if (err)
break; break;
} }
end = jiffies; end = jiffies;
......
...@@ -65,7 +65,6 @@ int cfs_tracefile_init_arch(void) ...@@ -65,7 +65,6 @@ int cfs_tracefile_init_arch(void)
num_possible_cpus(), GFP_KERNEL); num_possible_cpus(), GFP_KERNEL);
if (!cfs_trace_data[i]) if (!cfs_trace_data[i])
goto out; goto out;
} }
/* arch related info initialized */ /* arch related info initialized */
......
...@@ -549,7 +549,6 @@ void lustre_insert_debugfs(struct ctl_table *table, ...@@ -549,7 +549,6 @@ void lustre_insert_debugfs(struct ctl_table *table,
for (; symlinks && symlinks->name; symlinks++) for (; symlinks && symlinks->name; symlinks++)
debugfs_create_symlink(symlinks->name, lnet_debugfs_root, debugfs_create_symlink(symlinks->name, lnet_debugfs_root,
symlinks->target); symlinks->target);
} }
EXPORT_SYMBOL_GPL(lustre_insert_debugfs); EXPORT_SYMBOL_GPL(lustre_insert_debugfs);
......
...@@ -598,7 +598,6 @@ static void put_pages_back_on_all_cpus(struct page_collection *pc) ...@@ -598,7 +598,6 @@ static void put_pages_back_on_all_cpus(struct page_collection *pc)
list_for_each_entry_safe(tage, tmp, &pc->pc_pages, list_for_each_entry_safe(tage, tmp, &pc->pc_pages,
linkage) { linkage) {
__LASSERT_TAGE_INVARIANT(tage); __LASSERT_TAGE_INVARIANT(tage);
if (tage->cpu != cpu || tage->type != i) if (tage->cpu != cpu || tage->type != i)
...@@ -629,7 +628,6 @@ static void put_pages_on_tcd_daemon_list(struct page_collection *pc, ...@@ -629,7 +628,6 @@ static void put_pages_on_tcd_daemon_list(struct page_collection *pc,
struct cfs_trace_page *tmp; struct cfs_trace_page *tmp;
list_for_each_entry_safe(tage, tmp, &pc->pc_pages, linkage) { list_for_each_entry_safe(tage, tmp, &pc->pc_pages, linkage) {
__LASSERT_TAGE_INVARIANT(tage); __LASSERT_TAGE_INVARIANT(tage);
if (tage->cpu != tcd->tcd_cpu || tage->type != tcd->tcd_type) if (tage->cpu != tcd->tcd_cpu || tage->type != tcd->tcd_type)
...@@ -737,7 +735,6 @@ int cfs_tracefile_dump_all_pages(char *filename) ...@@ -737,7 +735,6 @@ int cfs_tracefile_dump_all_pages(char *filename)
*/ */
MMSPACE_OPEN; MMSPACE_OPEN;
list_for_each_entry_safe(tage, tmp, &pc.pc_pages, linkage) { list_for_each_entry_safe(tage, tmp, &pc.pc_pages, linkage) {
__LASSERT_TAGE_INVARIANT(tage); __LASSERT_TAGE_INVARIANT(tage);
buf = kmap(tage->page); buf = kmap(tage->page);
...@@ -775,7 +772,6 @@ void cfs_trace_flush_pages(void) ...@@ -775,7 +772,6 @@ void cfs_trace_flush_pages(void)
pc.pc_want_daemon_pages = 1; pc.pc_want_daemon_pages = 1;
collect_pages(&pc); collect_pages(&pc);
list_for_each_entry_safe(tage, tmp, &pc.pc_pages, linkage) { list_for_each_entry_safe(tage, tmp, &pc.pc_pages, linkage) {
__LASSERT_TAGE_INVARIANT(tage); __LASSERT_TAGE_INVARIANT(tage);
list_del(&tage->linkage); list_del(&tage->linkage);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment