ONOS-6787
Dynamic Config: API cleanup for RPC abstractions

Change-Id: I23f43d3c3bbff260f3fa0bd7aba7f16773104429
diff --git a/apps/config/src/main/java/org/onosproject/config/impl/DynamicConfigManager.java b/apps/config/src/main/java/org/onosproject/config/impl/DynamicConfigManager.java
index 5ec5422..64d4592 100644
--- a/apps/config/src/main/java/org/onosproject/config/impl/DynamicConfigManager.java
+++ b/apps/config/src/main/java/org/onosproject/config/impl/DynamicConfigManager.java
@@ -33,7 +33,6 @@
 import org.onosproject.config.DynamicConfigStoreDelegate;
 import org.onosproject.config.FailedException;
 import org.onosproject.config.Filter;
-import org.onosproject.yang.model.RpcHandler;
 import org.onosproject.yang.model.RpcInput;
 import org.onosproject.yang.model.RpcOutput;
 import org.onosproject.yang.model.DataNode;
@@ -73,7 +72,6 @@
         KryoNamespace.Builder kryoBuilder = new KryoNamespace.Builder()
                 .register(KryoNamespaces.BASIC)
                 .register(Class.class)
-                .register(RpcHandler.class)
                 .register(ResourceId.class);
         //TODO after 14420 is merged
         /*handlerRegistry = storageService.<RpcService, RpcHandler>consistentMapBuilder()