summaryrefslogtreecommitdiffstats
path: root/fru_area.hpp
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-10-21 13:41:02 -0700
committerPatrick Venture <venture@google.com>2018-10-30 08:28:31 -0700
commita2bed54e078039a20affbc8d2652938bffb19b06 (patch)
tree482736214e3b310a044560e6dfcc928a21b75c67 /fru_area.hpp
parent1d00178a1ec507ccd1e0f957cfd992721448891d (diff)
downloadipmi-fru-parser-a2bed54e078039a20affbc8d2652938bffb19b06.tar.gz
ipmi-fru-parser-a2bed54e078039a20affbc8d2652938bffb19b06.zip
IPMIFruArea: Drop unused dbus debug
Drop unused dbus debug code. There were no calls to set the values and the debug printing them would therefore always print empty strings. Change-Id: I767baf9f3450c9944396930069089a6bbb6e5c6a Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'fru_area.hpp')
-rw-r--r--fru_area.hpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/fru_area.hpp b/fru_area.hpp
index abfa083..afd983b 100644
--- a/fru_area.hpp
+++ b/fru_area.hpp
@@ -51,24 +51,6 @@ class IPMIFruArea
return name.c_str();
}
- // Returns SD bus name
- const char* getBusName() const
- {
- return busName.c_str();
- }
-
- // Retrns SD bus object path
- const char* getObjectPath() const
- {
- return objectPath.c_str();
- }
-
- // Returns SD bus interface name
- const char* getInterfaceName() const
- {
- return interfaceName.c_str();
- }
-
// Returns the data portion
inline const uint8_t* getData() const
{
@@ -78,9 +60,6 @@ class IPMIFruArea
// Accepts a pointer to data and sets it in the object.
void setData(const uint8_t*, const size_t);
- // Sets the dbus parameters
- void updateDbusPaths(const char*, const char*, const char*);
-
private:
// Unique way of identifying a FRU
uint8_t fruID = 0;
@@ -102,15 +81,6 @@ class IPMIFruArea
// Actual area data.
std::vector<uint8_t> data;
-
- // fru inventory dbus name
- std::string busName;
-
- // fru inventory dbus object path
- std::string objectPath;
-
- // fru inventory dbus interface name
- std::string interfaceName;
};
#endif
OpenPOWER on IntegriCloud