[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1375419177-10431-1-git-send-email-felipe.contreras@gmail.com>
Date: Thu, 1 Aug 2013 23:52:57 -0500
From: Felipe Contreras <felipe.contreras@...il.com>
To: linux-kernel@...r.kernel.org, linux-acpi@...r.kernel.org
Cc: "Rafael J. Wysocki" <rjw@...k.pl>, Len Brown <lenb@...nel.org>,
Zhang Rui <rui.zhang@...el.com>,
Aaron Lu <aaron.lwe@...il.com>,
Felipe Contreras <felipe.contreras@...il.com>
Subject: [PATCH] acpi: video: remove unused code
_BCM_use_index is never used and probably never will.
Signed-off-by: Felipe Contreras <felipe.contreras@...il.com>
---
drivers/acpi/video.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
index 0ec434d..54e2d4d 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -186,7 +186,6 @@ struct acpi_video_brightness_flags {
u8 _BCL_no_ac_battery_levels:1; /* no AC/Battery levels in _BCL */
u8 _BCL_reversed:1; /* _BCL package is in a reversed order*/
u8 _BCL_use_index:1; /* levels in _BCL are index values */
- u8 _BCM_use_index:1; /* input of _BCM is an index value */
u8 _BQC_use_index:1; /* _BQC returns an index value */
};
@@ -810,12 +809,6 @@ acpi_video_init_brightness(struct acpi_video_device *device)
if ((max_level < 100) && (max_level <= (count - 2)))
br->flags._BCL_use_index = 1;
- /*
- * _BCM is always consistent with _BCL,
- * at least for all the laptops we have ever seen.
- */
- br->flags._BCM_use_index = br->flags._BCL_use_index;
-
/* _BQC uses INDEX while _BCL uses VALUE in some laptops */
br->curr = level = max_level;
--
1.8.3.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists