]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: lustre/lnet/selftest: framework.c: Fixed coding style issues
authorDaniel Machon <dmachon.dev@gmail.com>
Sat, 8 Aug 2015 18:34:59 +0000 (20:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Aug 2015 22:22:58 +0000 (15:22 -0700)
Fixed coding style issues where statement should be on the next line

Signed-off-by: Daniel Machon <dmachon.dev@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/selftest/framework.c

index 7c5185a2a7950bc1833ccd2cb25d0c204f443512..257de353767192d626ba8822b9e99caceb416e8b 100644 (file)
@@ -203,7 +203,8 @@ sfw_deactivate_session(void)
        sfw_batch_t *tsb;
        sfw_test_case_t *tsc;
 
-       if (sn == NULL) return;
+       if (sn == NULL)
+               return;
 
        LASSERT(!sn->sn_timer_active);
 
@@ -613,7 +614,8 @@ sfw_destroy_test_instance(sfw_test_instance_t *tsi)
        srpc_client_rpc_t *rpc;
        sfw_test_unit_t *tsu;
 
-       if (!tsi->tsi_is_client) goto clean;
+       if (!tsi->tsi_is_client)
+               goto clean;
 
        tsi->tsi_ops->tso_fini(tsi);
 
@@ -1700,7 +1702,8 @@ sfw_startup(void)
 
        for (i = 0; ; i++) {
                sv = &sfw_services[i];
-               if (sv->sv_name == NULL) break;
+               if (sv->sv_name == NULL)
+                       break;
 
                sv->sv_bulk_ready = NULL;
                sv->sv_handler    = sfw_handle_server_rpc;
@@ -1717,7 +1720,8 @@ sfw_startup(void)
                }
 
                /* about to sfw_shutdown, no need to add buffer */
-               if (error) continue;
+               if (error)
+                       continue;
 
                rc = srpc_service_add_buffers(sv, sv->sv_wi_total);
                if (rc != 0) {