OSDN Git Service

Staging: lustre: Fix Space Prohibition before '++' in conrpc.c
authorRashika Kheria <rashika.kheria@gmail.com>
Thu, 17 Oct 2013 14:27:26 +0000 (19:57 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2013 16:06:43 +0000 (09:06 -0700)
This patch fixes the following checkpatch.pl error in conrpc.c-
ERROR: space prohibited before that '++'

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/selftest/conrpc.c

index 8b0ed72..263bf62 100644 (file)
@@ -573,7 +573,7 @@ lstcon_rpc_trans_destroy(lstcon_rpc_trans_t *trans)
                crpc->crp_node  = NULL;
                crpc->crp_trans = NULL;
                list_del_init(&crpc->crp_link);
-               count ++;
+               count++;
 
                spin_unlock(&rpc->crpc_lock);
 
@@ -741,7 +741,7 @@ lstcon_dstnodes_prep(lstcon_group_t *grp, int idx,
        list_for_each_entry(ndl, &grp->grp_ndl_list, ndl_link) {
                nd = ndl->ndl_node;
                if (i < start) {
-                       i ++;
+                       i++;
                        continue;
                }
 
@@ -1264,7 +1264,7 @@ lstcon_rpc_pinger(void *arg)
                lstcon_rpc_trans_addreq(trans, crpc);
                lstcon_rpc_post(crpc);
 
-               count ++;
+               count++;
        }
 
        if (console_session.ses_expired) {