Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Sep 2019 16:27:24 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r351757 - in stable/11/sys: amd64/vmm/io x86/x86
Message-ID:  <201909031627.x83GRO7K041322@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Tue Sep  3 16:27:23 2019
New Revision: 351757
URL: https://svnweb.freebsd.org/changeset/base/351757

Log:
  MFC r351000: sys/{x86,amd64}: remove one of doubled ;s

Modified:
  stable/11/sys/amd64/vmm/io/vlapic.c
  stable/11/sys/x86/x86/local_apic.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/amd64/vmm/io/vlapic.c
==============================================================================
--- stable/11/sys/amd64/vmm/io/vlapic.c	Tue Sep  3 16:26:35 2019	(r351756)
+++ stable/11/sys/amd64/vmm/io/vlapic.c	Tue Sep  3 16:27:23 2019	(r351757)
@@ -314,7 +314,7 @@ vlapic_get_lvtptr(struct vlapic *vlapic, uint32_t offs
 		return (&lapic->lvt_cmci);
 	case APIC_OFFSET_TIMER_LVT ... APIC_OFFSET_ERROR_LVT:
 		i = (offset - APIC_OFFSET_TIMER_LVT) >> 2;
-		return ((&lapic->lvt_timer) + i);;
+		return ((&lapic->lvt_timer) + i);
 	default:
 		panic("vlapic_get_lvt: invalid LVT\n");
 	}

Modified: stable/11/sys/x86/x86/local_apic.c
==============================================================================
--- stable/11/sys/x86/x86/local_apic.c	Tue Sep  3 16:26:35 2019	(r351756)
+++ stable/11/sys/x86/x86/local_apic.c	Tue Sep  3 16:27:23 2019	(r351757)
@@ -127,7 +127,7 @@ struct lvt {
 
 struct lapic {
 	struct lvt la_lvts[APIC_LVT_MAX + 1];
-	struct lvt la_elvts[APIC_ELVT_MAX + 1];;
+	struct lvt la_elvts[APIC_ELVT_MAX + 1];
 	u_int la_id:8;
 	u_int la_cluster:4;
 	u_int la_cluster_id:2;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909031627.x83GRO7K041322>