diff options
| author | Patrick Venture <venture@google.com> | 2018-05-10 09:01:04 -0700 |
|---|---|---|
| committer | Patrick Venture <venture@google.com> | 2018-05-10 09:13:16 -0700 |
| commit | 1df1a2c84dcc217425b69cea2dd60ce6871f15ec (patch) | |
| tree | d4ea6a09d6ef2644890e5b91ca75e51816281b20 | |
| parent | 2075863894841165280974dd4d16fb86344df2fc (diff) | |
| download | phosphor-pid-control-1df1a2c84dcc217425b69cea2dd60ce6871f15ec.tar.gz phosphor-pid-control-1df1a2c84dcc217425b69cea2dd60ce6871f15ec.zip | |
util: remove unused variable
Variable became obsolete and was left in although unused.
Change-Id: I2953c1eea836fb96812a8834f1776aff16b76745
Signed-off-by: Patrick Venture <venture@google.com>
| -rw-r--r-- | util.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -27,8 +27,6 @@ static constexpr auto sysfs = "/sys/"; IOInterfaceType GetWriteInterfaceType(const std::string& path) { - std::string::size_type n; - if (path.empty() || "None" == path) { return IOInterfaceType::NONE; @@ -45,8 +43,6 @@ IOInterfaceType GetWriteInterfaceType(const std::string& path) IOInterfaceType GetReadInterfaceType(const std::string& path) { - std::string::size_type n; - if (path.empty() || "None" == path) { return IOInterfaceType::NONE; |

