git: 798ea06f0777 - main - stand: Nuke double-semicolons

From: Warner Losh <imp_at_FreeBSD.org>
Date: Wed, 02 Nov 2022 15:36:34 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=798ea06f07778f69297bcb9c88738d115bf0369e

commit 798ea06f07778f69297bcb9c88738d115bf0369e
Author:     Elliott Mitchell <ehem+freebsd@m5p.com>
AuthorDate: 2021-08-16 22:51:38 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-11-02 15:34:54 +0000

    stand: Nuke double-semicolons
    
    A distinct number of double-semicolons have ended up in FreeBSD.  Take a
    pass at getting rid of many of these harmless typos.
    
    Reviewed by: emaste, imp
    Pull Request: https://github.com/freebsd/freebsd-src/pull/609
    Differential Revision: https://reviews.freebsd.org/D31717
---
 stand/common/gfx_fb.c | 2 +-
 stand/libsa/gpt.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/stand/common/gfx_fb.c b/stand/common/gfx_fb.c
index b80e9c565944..3e163de265ed 100644
--- a/stand/common/gfx_fb.c
+++ b/stand/common/gfx_fb.c
@@ -1190,7 +1190,7 @@ gfx_fb_copy_line(teken_gfx_t *state, int ncol, teken_pos_t *s, teken_pos_t *d)
 			screen_buffer[doffset + x] = screen_buffer[soffset + x];
 			if (mark) {
 				/* update end point */
-				sr.tr_end.tp_col = s->tp_col + x;;
+				sr.tr_end.tp_col = s->tp_col + x;
 			} else {
 				/* set up new rectangle */
 				mark = true;
diff --git a/stand/libsa/gpt.c b/stand/libsa/gpt.c
index 46e67a9c9a2d..6f061e4a8096 100644
--- a/stand/libsa/gpt.c
+++ b/stand/libsa/gpt.c
@@ -79,7 +79,7 @@ gptupdate(const char *which, struct dsk *dskp, struct gpt_hdr *hdr,
 	hdr->hdr_crc_table = crc32(0, Z_NULL, 0);
 	hdr->hdr_crc_table = crc32(hdr->hdr_crc_table, (const Bytef *)table,
 	    hdr->hdr_entries * hdr->hdr_entsz);
-	hdr->hdr_crc_self = crc32(0, Z_NULL, 0);;
+	hdr->hdr_crc_self = crc32(0, Z_NULL, 0);
 	hdr->hdr_crc_self = crc32(hdr->hdr_crc_self, (const Bytef *)hdr,
 	    hdr->hdr_size);
 	bzero(secbuf, DEV_BSIZE);