Upstreaming version 0.10.7
Change-Id: Ica4c824e3e053be68d2b0ab3d6d467638632f5e1
Signed-off-by: kalnagy <kalman.nagy@nokia.com>
diff --git a/pkg/control/registry.go b/pkg/control/registry.go
index 2b04f38..6717612 100644
--- a/pkg/control/registry.go
+++ b/pkg/control/registry.go
@@ -34,9 +34,7 @@
// Reserves and returns the next free sequence number
func (r *Registry) ReserveSequenceNumber() uint16 {
- if r.IsValidSequenceNumber(r.counter){
-
- }
+ if r.IsValidSequenceNumber(r.counter) { }
sequenceNumber := r.counter
r.register[sequenceNumber] = false
r.shift()
@@ -78,4 +76,4 @@
delete(r.register, sn)
return true
}
-}
\ No newline at end of file
+}