drop repeating record type generate*Rrset in rrset-factory

Change-Id: I64f18cb5f08febbbeccaa66b10b7a46a06a4bc76
diff --git a/tools/ndns-add-rr.cpp b/tools/ndns-add-rr.cpp
index 2ac2b9a..b6f105c 100644
--- a/tools/ndns-add-rr.cpp
+++ b/tools/ndns-add-rr.cpp
@@ -188,11 +188,11 @@
           delegations.insert(priority, Name(data[1]));
         }
 
-        rrset = rrsetFactory.generateNsRrset(label, type,
+        rrset = rrsetFactory.generateNsRrset(label,
                                              version, ttl, delegations);
       }
       else if (type == label::TXT_RR_TYPE) {
-        rrset = rrsetFactory.generateTxtRrset(label, type,
+        rrset = rrsetFactory.generateTxtRrset(label,
                                               version, ttl, content);
       }