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

Commit c550091e authored by Robert Richter's avatar Robert Richter
Browse files

x86/oprofile: Small coding style fixes



Some small coding style fixes.

Signed-off-by: default avatarRobert Richter <robert.richter@amd.com>
parent 11be1a7b
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -144,12 +144,11 @@ static void op_amd_setup_ctrs(struct op_x86_model_spec const *model,

	/* setup reset_value */
	for (i = 0; i < NUM_VIRT_COUNTERS; ++i) {
		if (counter_config[i].enabled) {
		if (counter_config[i].enabled)
			reset_value[i] = counter_config[i].count;
		} else {
		else
			reset_value[i] = 0;
	}
	}

	/* clear all counters */
	for (i = 0; i < NUM_CONTROLS; ++i) {