cleanup: remove redundant return statement (#3297)

Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
This commit is contained in:
Guangming Wang
2019-09-23 21:40:14 +08:00
committed by Miek Gieben
parent 004c5fca9d
commit 081e45afa3
15 changed files with 10 additions and 18 deletions

View File

@@ -290,7 +290,6 @@ func (t *Tree) Delete(rr dns.RR) {
if el.Empty() {
t.deleteNode(rr)
}
return
}
// DeleteNode deletes the node that matches rr according to Less().