diff --git a/branding/scripts/gen-providers-json.py b/branding/scripts/gen-providers-json.py
index 8e1c10bd468c5bf395ca57638996dc31e813f0f1..beef3fe3fa283f9cc2f1955c0b307dec67e47648 100644
--- a/branding/scripts/gen-providers-json.py
+++ b/branding/scripts/gen-providers-json.py
@@ -40,14 +40,6 @@ def addCaData(data, configfile):
     with open(caFile) as ca:
         data['caCertString'] = ca.read().strip()
 
-def writeOutput(data, infile, outfile):
-
-    with open(infile) as infile:
-        s = Template(infile.read())
-
-    with open(outfile, 'w') as outf:
-        outf.write(s.substitute(data))
-
 def bail(msg=None):
     if not msg:
         print("ERROR: not enough arguments!")