Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9b8fa445 authored by James Simmons's avatar James Simmons Committed by Greg Kroah-Hartman
Browse files

staging: lustre: remove excess blank lines in lnet selftest code



Remove extra blank lines missed by checkpatch.

Signed-off-by: default avatarJames Simmons <jsimmons@infradead.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3eaf9fcc
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -91,7 +91,6 @@ brw_client_init(sfw_test_instance_t *tsi)
		 * but we have to keep it for compatibility
		 * but we have to keep it for compatibility
		 */
		 */
		len = npg * PAGE_CACHE_SIZE;
		len = npg * PAGE_CACHE_SIZE;

	} else {
	} else {
		test_bulk_req_v1_t *breq = &tsi->tsi_u.bulk_v1;
		test_bulk_req_v1_t *breq = &tsi->tsi_u.bulk_v1;


@@ -279,7 +278,6 @@ brw_client_prep_rpc(sfw_test_unit_t *tsu,
		flags = breq->blk_flags;
		flags = breq->blk_flags;
		npg = breq->blk_npg;
		npg = breq->blk_npg;
		len = npg * PAGE_CACHE_SIZE;
		len = npg * PAGE_CACHE_SIZE;

	} else {
	} else {
		test_bulk_req_v1_t *breq = &tsi->tsi_u.bulk_v1;
		test_bulk_req_v1_t *breq = &tsi->tsi_u.bulk_v1;


+0 −2
Original line number Original line Diff line number Diff line
@@ -531,7 +531,6 @@ lstcon_rpc_trans_interpreter(lstcon_rpc_trans_t *trans,
			continue;
			continue;


		error = readent(trans->tas_opc, msg, ent);
		error = readent(trans->tas_opc, msg, ent);

		if (error)
		if (error)
			return error;
			return error;
	}
	}
@@ -841,7 +840,6 @@ lstcon_testrpc_prep(lstcon_node_t *nd, int transop, unsigned feats,


		trq->tsr_ndest = 0;
		trq->tsr_ndest = 0;
		trq->tsr_loop = nmax * test->tes_dist * test->tes_concur;
		trq->tsr_loop = nmax * test->tes_dist * test->tes_concur;

	} else {
	} else {
		bulk = &(*crpc)->crp_rpc->crpc_bulk;
		bulk = &(*crpc)->crp_rpc->crpc_bulk;


+0 −2
Original line number Original line Diff line number Diff line
@@ -977,7 +977,6 @@ lstcon_batch_info(char *name, lstcon_test_batch_ent_t __user *ent_up,
	if (!test) {
	if (!test) {
		entp->u.tbe_batch.bae_ntest = bat->bat_ntest;
		entp->u.tbe_batch.bae_ntest = bat->bat_ntest;
		entp->u.tbe_batch.bae_state = bat->bat_state;
		entp->u.tbe_batch.bae_state = bat->bat_state;

	} else {
	} else {
		entp->u.tbe_test.tse_type = test->tes_type;
		entp->u.tbe_test.tse_type = test->tes_type;
		entp->u.tbe_test.tse_loop = test->tes_loop;
		entp->u.tbe_test.tse_loop = test->tes_loop;
@@ -1423,7 +1422,6 @@ lstcon_test_batch_query(char *name, int testidx, int client,
		translist = &batch->bat_trans_list;
		translist = &batch->bat_trans_list;
		ndlist = &batch->bat_cli_list;
		ndlist = &batch->bat_cli_list;
		hdr = &batch->bat_hdr;
		hdr = &batch->bat_hdr;

	} else {
	} else {
		/* query specified test only */
		/* query specified test only */
		rc = lstcon_test_find(batch, testidx, &test);
		rc = lstcon_test_find(batch, testidx, &test);