Initialize local directly
[bgpcep.git] / bgp / rib-impl / src / main / java / org / opendaylight / protocol / bgp / rib / impl / ApplicationPeer.java
index e018ecc576c33bdaf55f57ffa053ff881e106cd1..465747758d8d1242c0c1cd4b1e809cb2a7f72f49 100644 (file)
@@ -293,8 +293,7 @@ public class ApplicationPeer extends AbstractPeer implements ClusteredDOMDataTre
         if (this.effectiveRibInWriter != null) {
             this.effectiveRibInWriter.close();
         }
-        final FluentFuture<? extends CommitInfo> future;
-        future = removePeer(this.peerPath);
+        final FluentFuture<? extends CommitInfo> future = removePeer(this.peerPath);
         closeDomChain();
         if (this.trackerRegistration != null) {
             this.trackerRegistration.close();