Clean up some BN_div variable declarations

Bug: 358687140
Change-Id: Ifbc8bf34a93543c6035bfee29d915818ef2875db
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/70173
Reviewed-by: Bob Beck <bbe@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
diff --git a/crypto/fipsmodule/bn/div.c b/crypto/fipsmodule/bn/div.c
index 1b78dc3..3c9c4f5 100644
--- a/crypto/fipsmodule/bn/div.c
+++ b/crypto/fipsmodule/bn/div.c
@@ -297,13 +297,11 @@
   }
 
   for (int i = 0; i < loop - 1; i++, wnump--, resp--) {
-    BN_ULONG q, l0;
     // the first part of the loop uses the top two words of snum and sdiv to
     // calculate a BN_ULONG q such that | wnum - sdiv * q | < sdiv
-    BN_ULONG n0, n1, rm = 0;
-
-    n0 = wnump[0];
-    n1 = wnump[-1];
+    BN_ULONG q, rm = 0;
+    BN_ULONG n0 = wnump[0];
+    BN_ULONG n1 = wnump[-1];
     if (n0 == d0) {
       q = BN_MASK2;
     } else {
@@ -344,8 +342,7 @@
 #endif  // !BN_ULLONG
     }
 
-    l0 = bn_mul_words(tmp->d, sdiv->d, div_n, q);
-    tmp->d[div_n] = l0;
+    tmp->d[div_n] = bn_mul_words(tmp->d, sdiv->d, div_n, q);
     wnum.d--;
     // ingore top values of the bignums just sub the two
     // BN_ULONG arrays with bn_sub_words