psu-ng: Remove updateInventory in PSUManager initialize
This should not be needed, as the power supplies will update the
inventory as they are created, or if a GPIO changes from missing to
present.
Removing this should avoid updating the inventory twice whenever the
process is started.
Change-Id: I0aac8fc7aa7d3ff1fec3b25e1153cd8f0e699527
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
diff --git a/phosphor-power-supply/psu_manager.cpp b/phosphor-power-supply/psu_manager.cpp
index ebc953f..35743f2 100644
--- a/phosphor-power-supply/psu_manager.cpp
+++ b/phosphor-power-supply/psu_manager.cpp
@@ -132,7 +132,6 @@
onOffConfig(phosphor::pmbus::ON_OFF_CONFIG_CONTROL_PIN_ONLY);
clearFaults();
updateMissingPSUs();
- updateInventory();
setPowerConfigGPIO();
log<level::INFO>(