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

Commit 0a17941e authored by Robert Richter's avatar Robert Richter Committed by Ingo Molnar
Browse files

mce, amd: Remove goto in threshold_create_device()



Removing the goto in threshold_create_device().

Signed-off-by: default avatarRobert Richter <robert.richter@amd.com>
Acked-by: default avatarBorislav Petkov <borislav.petkov@amd.com>
LKML-Reference: <1288015419-29543-5-git-send-email-robert.richter@amd.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent bbaff08d
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -622,9 +622,9 @@ static __cpuinit int threshold_create_device(unsigned int cpu)
			continue;
			continue;
		err = threshold_create_bank(cpu, bank);
		err = threshold_create_bank(cpu, bank);
		if (err)
		if (err)
			goto out;
			return err;
	}
	}
out:

	return err;
	return err;
}
}