From 9c4ac3c58c7858029954fa88bf774efb06e84098 Mon Sep 17 00:00:00 2001
From: Ezekiel Dohmen <ezekiel.dohmen@ligo.org>
Date: Fri, 1 Apr 2022 15:08:06 -0700
Subject: [PATCH] Don't really need the if in the part

---
 src/epics/util/lib/Noise.pm | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/src/epics/util/lib/Noise.pm b/src/epics/util/lib/Noise.pm
index 7322e419c..66ac2e1fb 100644
--- a/src/epics/util/lib/Noise.pm
+++ b/src/epics/util/lib/Noise.pm
@@ -39,13 +39,7 @@ sub printFrontEndVars  {
     my ($i) = @_;
     print ::OUT "static double \L$::xpartName[$i];\n";
     if ($printed) { return; }
-
-    if ($::noiseGeneratorSeed != 0) {
-        print ::OUT "static unsigned long noise_seed = " . $::noiseGeneratorSeed . "LL;\n";
-    }
-    else {
-         print ::OUT "static unsigned long noise_seed = 0LL;\n";
-    }
+    print ::OUT "static unsigned long noise_seed = " . $::noiseGeneratorSeed . "ULL;\n";
 
     print ::OUT << "END";
 static unsigned long noise_u = 0, noise_v = 0, noise_w = 0;
-- 
GitLab