From 233886df8df2956da51d122199be8941dc6558e0 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Sun, 19 Mar 2017 01:04:48 +0100 Subject: [PATCH] - remove unused g_info.box_Type --- src/driver/lcdd.cpp | 2 ++ src/system/settings.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/driver/lcdd.cpp b/src/driver/lcdd.cpp index 3ff7e111c..183988a90 100644 --- a/src/driver/lcdd.cpp +++ b/src/driver/lcdd.cpp @@ -341,6 +341,7 @@ void CLCD::setlcdparameter(int dimm, const int contrast, const int power, const perror("[lcdd] set invert failed!"); } +#if 0 if (g_info.box_Type == CControld::TUXBOX_MAKER_PHILIPS) { if (ioctl(fd, LCD_IOCTL_BIAS, &bias) < 0) @@ -348,6 +349,7 @@ void CLCD::setlcdparameter(int dimm, const int contrast, const int power, const perror("[lcdd] set bias failed!"); } } +#endif close(fd); } #endif diff --git a/src/system/settings.h b/src/system/settings.h index 6e9578c11..2b5f6831f 100644 --- a/src/system/settings.h +++ b/src/system/settings.h @@ -925,7 +925,6 @@ const time_settings_struct_t timing_setting[SNeutrinoSettings::TIMING_SETTING_CO struct SglobalInfo { - unsigned char box_Type; delivery_system_t delivery_system; hw_caps_t *hw_caps; };