diff --git a/linkcheck/HtmlParser/htmllib.py b/linkcheck/HtmlParser/htmllib.py
index 819d4fa9..e7e0b493 100644
--- a/linkcheck/HtmlParser/htmllib.py
+++ b/linkcheck/HtmlParser/htmllib.py
@@ -212,10 +212,3 @@ def quote_attrval (s):
else:
res.append(u"%d;" % ord(c))
return u"".join(res)
-
-
-def quote_val (s):
- s = s.replace('&', "&")
- s = s.replace('<', "<")
- s = s.replace('>', ">")
- return s