diff --git a/sphinx/builders/htmlhelp.py b/sphinx/builders/htmlhelp.py
index a182c7632..ce30affba 100644
--- a/sphinx/builders/htmlhelp.py
+++ b/sphinx/builders/htmlhelp.py
@@ -75,24 +75,6 @@ template_dir = path.join(package_dir, 'templates', 'htmlhelp')
# 0x200000 TOC Next
# 0x400000 TOC Prev
-contents_header = '''\
-
-
-
-
-
-
-
-
-'''
-
-contents_footer = '''\
-
-'''
-
object_sitemap = '''\