git: 624f60ca0345 - main - platform_mpp_init: eliminate write only tuples variable

From: Warner Losh <imp_at_FreeBSD.org>
Date: Tue, 05 Apr 2022 04:32:04 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=624f60ca034505f4274a4232817062f7f6d6570c

commit 624f60ca034505f4274a4232817062f7f6d6570c
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-04-04 23:56:02 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-04-05 04:29:15 +0000

    platform_mpp_init: eliminate write only tuples variable
    
    Sponsored by:           Netflix
---
 sys/arm/mv/mv_armv7_machdep.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys/arm/mv/mv_armv7_machdep.c b/sys/arm/mv/mv_armv7_machdep.c
index 3ecd69f435a6..e37d77b9bb1b 100644
--- a/sys/arm/mv/mv_armv7_machdep.c
+++ b/sys/arm/mv/mv_armv7_machdep.c
@@ -160,7 +160,7 @@ platform_mpp_init(void)
 	pcell_t pin_cells, *pinmap_ptr, pin_count;
 	ssize_t len;
 	int par_addr_cells, par_size_cells;
-	int tuple_size, tuples, rv, pins, i, j;
+	int tuple_size, rv, pins, i, j;
 	int mpp_pin, mpp_function;
 
 	/*
@@ -194,7 +194,6 @@ moveon:
 
 	tuple_size = sizeof(pcell_t) * (par_addr_cells + par_size_cells);
 	len = OF_getprop(node, "reg", reg, sizeof(reg));
-	tuples = len / tuple_size;
 	if (tuple_size <= 0)
 		return (EINVAL);