Transaction needs only subs id.

Change-Id: Iad421b0e03081d52ee96908454e9976cf5229538
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
diff --git a/pkg/control/tracker.go b/pkg/control/tracker.go
index 2f54237..cf00af3 100644
--- a/pkg/control/tracker.go
+++ b/pkg/control/tracker.go
@@ -50,10 +50,6 @@
 func (t *Tracker) NewSubsTransaction(subs *Subscription) *TransactionSubs {
 	trans := &TransactionSubs{}
 	trans.Meid = subs.GetMeid()
-	rid := subs.GetReqId()
-	if rid != nil {
-		trans.ReqId = *rid
-	}
 	t.initTransaction(&trans.Transaction)
 	xapp.Logger.Debug("CREATE %s", trans.String())
 	return trans
@@ -62,15 +58,13 @@
 func (t *Tracker) NewXappTransaction(
 	endpoint *RmrEndpoint,
 	xid string,
-	reqId *RequestId,
+	subid uint32,
 	meid *xapp.RMRMeid) *TransactionXapp {
 
 	trans := &TransactionXapp{}
 	trans.XappKey = &TransactionXappKey{*endpoint, xid}
 	trans.Meid = meid
-	if reqId != nil {
-		trans.ReqId = *reqId
-	}
+	trans.SubId = subid
 	t.initTransaction(&trans.Transaction)
 	xapp.Logger.Debug("CREATE %s", trans.String())
 	return trans