xenserver: Remove dead store from interface-reconfigure.
authorBen Pfaff <blp@nicira.com>
Fri, 11 Sep 2009 21:03:00 +0000 (14:03 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 11 Sep 2009 21:06:14 +0000 (14:06 -0700)
No point in looking up pifrec if we're not going to use it.

xenserver/opt_xensource_libexec_interface-reconfigure

index cb4a2ee4bf89ce3535a2f3f73e7bb2a674e5a522..5681d02d2f6ea7b9abd598065046b0c1eb42e70e 100755 (executable)
@@ -1491,7 +1491,6 @@ def main(argv=None):
                 raise Usage("Unknown action %s"  % action)
 
             # Save cache.
-            pifrec = db.get_pif_record(pif)
             db.save(dbcache_file)
         
     except Usage, err: