Coverity issues fiexd

Change-Id: I014e1512b43cb299c9dfb8dfe8965c184e795af3
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
diff --git a/pkg/control/registry.go b/pkg/control/registry.go
index 88a4cc5..5e9d63e 100644
--- a/pkg/control/registry.go
+++ b/pkg/control/registry.go
@@ -511,7 +511,7 @@
 	return e2ap.E2AP_ActionTypeInvalid, fmt.Errorf("Invalid action type in RICactions-ToBeSetup-List")
 }
 
-func (r *Registry) RemoveFromSubscription(subs *Subscription, trans *TransactionXapp, waitRouteClean time.Duration, c *Control) error {
+func (r *Registry) RemoveFromSubscription(subs *Subscription, trans *TransactionXapp, waitRouteClean time.Duration, c *Control) {
 
 	xapp.Logger.Debug("RemoveFromSubscription %s", idstring(nil, trans, subs, trans))
 	r.mutex.Lock()
@@ -524,7 +524,7 @@
 
 	subId := subs.ReqId.InstanceId
 	if delStatus == false {
-		return nil
+		return
 	}
 
 	if waitRouteClean > 0 {
@@ -575,7 +575,7 @@
 		}
 		c.UpdateCounter(cUnmergedSubscriptions)
 	}
-	return nil
+	return
 }
 
 func (r *Registry) RouteDelete(subs *Subscription, trans *TransactionXapp, c *Control) {