OSDN Git Service

staging/lustre/libcfs: Remove empty lines after/before braces
authorOleg Drokin <green@linuxhacker.ru>
Tue, 16 Feb 2016 05:47:10 +0000 (00:47 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 22:33:11 +0000 (14:33 -0800)
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: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/libcfs/linux/linux-crypto.c
drivers/staging/lustre/lustre/libcfs/linux/linux-tracefile.c
drivers/staging/lustre/lustre/libcfs/module.c
drivers/staging/lustre/lustre/libcfs/tracefile.c

index 140134d..b0b1244 100644 (file)
@@ -125,7 +125,6 @@ struct cfs_crypto_hash_desc *
        cfs_crypto_hash_init(unsigned char alg_id,
                             unsigned char *key, unsigned int key_len)
 {
-
        struct  hash_desc       *hdesc;
        int                  err;
        const struct cfs_crypto_hash_type       *type;
@@ -212,7 +211,6 @@ static void cfs_crypto_performance_test(unsigned char alg_id,
                                             hash, &hash_len);
                if (err)
                        break;
-
        }
        end = jiffies;
 
index f0880a0..eccf048 100644 (file)
@@ -65,7 +65,6 @@ int cfs_tracefile_init_arch(void)
                                num_possible_cpus(), GFP_KERNEL);
                if (!cfs_trace_data[i])
                        goto out;
-
        }
 
        /* arch related info initialized */
index b8b69bb..ea3dc9b 100644 (file)
@@ -549,7 +549,6 @@ void lustre_insert_debugfs(struct ctl_table *table,
        for (; symlinks && symlinks->name; symlinks++)
                debugfs_create_symlink(symlinks->name, lnet_debugfs_root,
                                       symlinks->target);
-
 }
 EXPORT_SYMBOL_GPL(lustre_insert_debugfs);
 
index 4998022..c000baf 100644 (file)
@@ -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,
                                                 linkage) {
-
                                __LASSERT_TAGE_INVARIANT(tage);
 
                                if (tage->cpu != cpu || tage->type != i)
@@ -629,7 +628,6 @@ static void put_pages_on_tcd_daemon_list(struct page_collection *pc,
        struct cfs_trace_page *tmp;
 
        list_for_each_entry_safe(tage, tmp, &pc->pc_pages, linkage) {
-
                __LASSERT_TAGE_INVARIANT(tage);
 
                if (tage->cpu != tcd->tcd_cpu || tage->type != tcd->tcd_type)
@@ -737,7 +735,6 @@ int cfs_tracefile_dump_all_pages(char *filename)
         */
        MMSPACE_OPEN;
        list_for_each_entry_safe(tage, tmp, &pc.pc_pages, linkage) {
-
                __LASSERT_TAGE_INVARIANT(tage);
 
                buf = kmap(tage->page);
@@ -775,7 +772,6 @@ void cfs_trace_flush_pages(void)
        pc.pc_want_daemon_pages = 1;
        collect_pages(&pc);
        list_for_each_entry_safe(tage, tmp, &pc.pc_pages, linkage) {
-
                __LASSERT_TAGE_INVARIANT(tage);
 
                list_del(&tage->linkage);