Skip to content

Commit

Permalink
remove duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
cybwan committed Sep 20, 2023
1 parent fffb9b0 commit be23355
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/loxinlp/nlp.go
Original file line number Diff line number Diff line change
Expand Up @@ -1534,7 +1534,6 @@ func NlpInit(bgpPeerMode bool, blackList string) *NlH {
nNl.BLRgx = regexp.MustCompile(blackList)

if bgpPeerMode {
nNl.FromRUCh = make(chan nlp.RouteUpdate, cmn.RuWorkQLen)
nNl.FromRUCh = make(chan nlp.RouteUpdate, cmn.RuWorkQLen)
err := nlp.RouteSubscribe(nNl.FromRUCh, nNl.FromRUDone)
if err != nil {
Expand Down

0 comments on commit be23355

Please sign in to comment.