cfg: Avoid doing unnecessary work in cfg_del_match().
authorBen Pfaff <blp@nicira.com>
Tue, 7 Apr 2009 18:08:19 +0000 (11:08 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 7 Apr 2009 18:16:30 +0000 (11:16 -0700)
commit3d1ff7193c52985ce4c2c64cb489a7bf15a3468b
tree351e75c8cd351f577fb6932cb0c957b5332ce1d8
parent764c94a4d7786ccba8fcf41cac8c7ffbc261393d
cfg: Avoid doing unnecessary work in cfg_del_match().

It is only necessary to compact and terminate the array if we actually
modified anything.
lib/cfg.c