git: 98f7dec5084e - main - mptable: Remove set but unused variable.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Tue, 20 Jun 2023 16:29:22 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=98f7dec5084e832648c0ff8a93820f644b01a73a

commit 98f7dec5084e832648c0ff8a93820f644b01a73a
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-06-20 16:28:59 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-06-20 16:28:59 +0000

    mptable: Remove set but unused variable.
    
    Reported by:    GCC
---
 usr.sbin/mptable/mptable.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/usr.sbin/mptable/mptable.c b/usr.sbin/mptable/mptable.c
index f6d0630fb5d2..79bee8e1edd8 100644
--- a/usr.sbin/mptable/mptable.c
+++ b/usr.sbin/mptable/mptable.c
@@ -530,7 +530,6 @@ MPConfigTableHeader( u_int32_t pap )
 {
     mpcth_t	cth;
     int		x;
-    int		totalSize;
     int		c;
     int		oldtype, entrytype;
     u_int8_t	*entry;
@@ -574,8 +573,6 @@ MPConfigTableHeader( u_int32_t pap )
     printf( "  extended table length:\t%d\n", cth->extended_table_length );
     printf( "  extended table checksum:\t%d\n", cth->extended_table_checksum );
 
-    totalSize = cth->base_table_length - sizeof( struct MPCTH );
-
     puts( SEP_LINE );
 
     printf( "MP Config Base Table Entries:\n\n" );