staging/lustre/libcfs: Remove stray spaces after function name
authorOleg Drokin <green@linuxhacker.ru>
Tue, 16 Feb 2016 05:47:04 +0000 (00:47 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 22:33:11 +0000 (14:33 -0800)
Problem highlighted by checkpatch.

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/libcfs/linux/linux-debug.c
drivers/staging/lustre/lustre/libcfs/tracefile.c
drivers/staging/lustre/lustre/libcfs/tracefile.h
drivers/staging/lustre/lustre/libcfs/workitem.c

index 04203b3dba71c18bb9f30d4646a8a1f380394478..3f3c2d9e53fe12f5f4fff20a51700a8e65f44303 100644 (file)
@@ -142,7 +142,7 @@ void libcfs_run_lbug_upcall(struct libcfs_debug_msg_data *msgdata)
        argv[4] = buf;
        argv[5] = NULL;
 
-       libcfs_run_upcall (argv);
+       libcfs_run_upcall(argv);
 }
 EXPORT_SYMBOL(libcfs_run_lbug_upcall);
 
index eb57c96bd2e55789989a5be21e59481c9c2ee998..03c3f82fc2b3f705221b42dd9eead631f844575d 100644 (file)
@@ -378,7 +378,7 @@ int libcfs_debug_vmsg2(struct libcfs_debug_msg_data *msgdata,
        __LASSERT(debug_buf == string_buf);
 
        tage->used += needed;
-       __LASSERT (tage->used <= PAGE_CACHE_SIZE);
+       __LASSERT(tage->used <= PAGE_CACHE_SIZE);
 
 console:
        if ((mask & libcfs_printk) == 0) {
index 92a00ed9c0f1a12e3be69990fad1c2f18c22813d..228574437a41528774403fe57db47a9d47fa6055 100644 (file)
@@ -279,8 +279,7 @@ cfs_trace_get_tcd(void)
        return tcd;
 }
 
-static inline void
-cfs_trace_put_tcd (struct cfs_trace_cpu_data *tcd)
+static inline void cfs_trace_put_tcd(struct cfs_trace_cpu_data *tcd)
 {
        cfs_trace_unlock_tcd(tcd, 0);
 
index 24400dfc013d2f548cf085c7614f574aec643a53..9d80cfb764385724873f011f158fa558994178e0 100644 (file)
@@ -163,7 +163,7 @@ cfs_wi_deschedule(struct cfs_wi_sched *sched, cfs_workitem_t *wi)
                wi->wi_scheduled = 0;
        }
 
-       LASSERT (list_empty(&wi->wi_list));
+       LASSERT(list_empty(&wi->wi_list));
 
        spin_unlock(&sched->ws_lock);
        return rc;
@@ -186,7 +186,7 @@ cfs_wi_schedule(struct cfs_wi_sched *sched, cfs_workitem_t *wi)
        spin_lock(&sched->ws_lock);
 
        if (!wi->wi_scheduled) {
-               LASSERT (list_empty(&wi->wi_list));
+               LASSERT(list_empty(&wi->wi_list));
 
                wi->wi_scheduled = 1;
                sched->ws_nscheduled++;
@@ -198,14 +198,13 @@ cfs_wi_schedule(struct cfs_wi_sched *sched, cfs_workitem_t *wi)
                }
        }
 
-       LASSERT (!list_empty(&wi->wi_list));
+       LASSERT(!list_empty(&wi->wi_list));
        spin_unlock(&sched->ws_lock);
        return;
 }
 EXPORT_SYMBOL(cfs_wi_schedule);
 
-static int
-cfs_wi_scheduler (void *arg)
+static int cfs_wi_scheduler(void *arg)
 {
        struct cfs_wi_sched     *sched = (struct cfs_wi_sched *)arg;