svn commit: r339936 - head/sys/amd64/vmm/amd

Marcelo Araujo araujo at FreeBSD.org
Wed Oct 31 01:27:45 UTC 2018


Author: araujo
Date: Wed Oct 31 01:27:44 2018
New Revision: 339936
URL: https://svnweb.freebsd.org/changeset/base/339936

Log:
  Merge cases with upper block.
  This is a cosmetic change only to simplify code.
  
  Reported by:	anish
  Sponsored by:	iXsystems Inc.

Modified:
  head/sys/amd64/vmm/amd/svm_msr.c

Modified: head/sys/amd64/vmm/amd/svm_msr.c
==============================================================================
--- head/sys/amd64/vmm/amd/svm_msr.c	Tue Oct 30 23:09:04 2018	(r339935)
+++ head/sys/amd64/vmm/amd/svm_msr.c	Wed Oct 31 01:27:44 2018	(r339936)
@@ -122,11 +122,7 @@ svm_rdmsr(struct svm_softc *sc, int vcpu, u_int num, u
 	case MSR_MTRR16kBase ... MSR_MTRR16kBase + 1:
 	case MSR_MTRR64kBase:
 	case MSR_SYSCFG:
-		*result = 0;
-		break;
 	case MSR_AMDK8_IPM:
-		*result = 0;
-		break;
 	case MSR_EXTFEATURES:
 		*result = 0;
 		break;


More information about the svn-src-all mailing list