From 92bf2cf10574489d2677538474df1408884a418d Mon Sep 17 00:00:00 2001 From: Brian O'Connor Date: Tue, 27 Aug 2013 11:51:01 -0700 Subject: [PATCH] codecheck: removed unused variable in topo.py --- mininet/topo.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/mininet/topo.py b/mininet/topo.py index 148011d..784095f 100644 --- a/mininet/topo.py +++ b/mininet/topo.py @@ -261,8 +261,6 @@ class LinearTopo(Topo): switch = self.addSwitch('s%s' % i) # Add hosts to switch for j in irange(1, n): - hostNum = (i-1)*n + j - #host = self.addHost('h%s' % hostNum) host = self.addHost(genHostName(i, j)) self.addLink(host, switch) # Connect switch to previous