diff --git a/universal7885-common/light/Light.cpp b/universal7885-common/light/Light.cpp index 139a449..f378e06 100644 --- a/universal7885-common/light/Light.cpp +++ b/universal7885-common/light/Light.cpp @@ -18,7 +18,6 @@ #include #include #include -#include #include "Light.h" @@ -53,12 +52,6 @@ static T get(const std::string& path, const T& def) { return file.fail() ? def : result; } -template -static T exist(const std::string& path) { - struct stat buffer; - return (stat (name.c_str(), &buffer) == 0); -} - Light::Light() { mLights.emplace(Type::BACKLIGHT, std::bind(&Light::handleBacklight, this, std::placeholders::_1));