diff --git a/vlib/net/html/tag.v b/vlib/net/html/tag.v
index 61dcb530e6..c0df75b7e7 100644
--- a/vlib/net/html/tag.v
+++ b/vlib/net/html/tag.v
@@ -96,7 +96,6 @@ pub fn (tag &Tag) get_tags(name string) []&Tag {
// get_tag_by_attribute retrieves the first found child tag in the tag that has the given attribute name.
pub fn (tag &Tag) get_tag_by_attribute(name string) ?&Tag {
- // mut res := &Tag{}
for child in tag.children {
if child.attributes[name] != '' {
return child