codecheck: removed unused variable in topo.py

This commit is contained in:
Brian O'Connor
2013-09-11 12:00:14 -07:00
parent 0840af5277
commit 92bf2cf105
-2
View File
@@ -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