summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishwanatha Subbanna <vishwa@linux.vnet.ibm.com>2017-04-13 19:05:27 +0530
committerVishwanatha Subbanna <vishwa@linux.vnet.ibm.com>2017-04-13 19:05:27 +0530
commitf9fbadd6095781c774dd165d55bce4c5f5bada90 (patch)
treeed2f6db6300b1946827f5b7a727086a59f3bd071
parent02ba9ecca446f606a26e897cd9381e26d3abeb53 (diff)
downloadopenpower-occ-control-f9fbadd6095781c774dd165d55bce4c5f5bada90.tar.gz
openpower-occ-control-f9fbadd6095781c774dd165d55bce4c5f5bada90.zip
Remove dead code during sdbus object creation
As part of object creation, Interface added signal gets broadcasted by default unless told not to do so. Current code uses the default behavior and also makes an explicit call to broadcast a signal. Although it does not send a signal again, its un-necessary code that gets executed and should be removed. Change-Id: I438d6f54eeea9ea930525e956c26a69510ccf83d Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
-rw-r--r--occ_pass_through.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/occ_pass_through.cpp b/occ_pass_through.cpp
index 872e281..25f3edf 100644
--- a/occ_pass_through.cpp
+++ b/occ_pass_through.cpp
@@ -41,7 +41,7 @@ PassThrough::PassThrough(
Iface(bus, path),
path(path)
{
- this->emit_object_added();
+ // Nothing
}
std::vector<int32_t> PassThrough::send(std::vector<int32_t> command)
OpenPOWER on IntegriCloud