[haiku-commits] haiku: hrev53859 - src/add-ons/kernel/drivers/graphics/intel_extreme

  • From: Adrien Destugues <pulkomandy@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 9 Feb 2020 12:41:36 -0500 (EST)

hrev53859 adds 1 changeset to branch 'master'
old head: af8d74ae10219e7da297acbf9b35844d7bc3ca20
new head: 980a3930473a9a379b50ab9e224b61ea5c8cdd55
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=980a3930473a+%5Eaf8d74ae1021

----------------------------------------------------------------------------

980a3930473a: intel_extreme: build fix, remove unused variables.

                             [ Adrien Destugues <pulkomandy@xxxxxxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev53859
Commit:      980a3930473a9a379b50ab9e224b61ea5c8cdd55
URL:         https://git.haiku-os.org/haiku/commit/?id=980a3930473a
Author:      Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
Date:        Sun Feb  9 17:39:17 2020 UTC

----------------------------------------------------------------------------

1 file changed, 5 deletions(-)
.../kernel/drivers/graphics/intel_extreme/intel_extreme.cpp      | 5 -----

----------------------------------------------------------------------------

diff --git 
a/src/add-ons/kernel/drivers/graphics/intel_extreme/intel_extreme.cpp 
b/src/add-ons/kernel/drivers/graphics/intel_extreme/intel_extreme.cpp
index 84c0dfac24..eff706275f 100644
--- a/src/add-ons/kernel/drivers/graphics/intel_extreme/intel_extreme.cpp
+++ b/src/add-ons/kernel/drivers/graphics/intel_extreme/intel_extreme.cpp
@@ -147,7 +147,6 @@ intel_interrupt_handler(void* data)
 {
        intel_info &info = *(intel_info*)data;
        uint32 reg = find_reg(info, INTEL_INTERRUPT_IDENTITY);
-       bool hasPCH = (info.pch_info != INTEL_PCH_NONE);
        uint32 identity;
 
        identity = read32(info, reg);
@@ -251,8 +250,6 @@ init_interrupt_handler(intel_info &info)
                        write32(info, INTEL_DISPLAY_B_PIPE_STATUS,
                                DISPLAY_PIPE_VBLANK_STATUS | 
DISPLAY_PIPE_VBLANK_ENABLED);
 
-                       bool hasPCH = (info.pch_info != INTEL_PCH_NONE);
-
                        uint32 enable = intel_get_interrupt_mask(info,
                                INTEL_PIPE_A | INTEL_PIPE_B, true);
 
@@ -550,8 +547,6 @@ intel_extreme_uninit(intel_info &info)
        CALLED();
 
        if (!info.fake_interrupts && info.shared_info->vblank_sem > 0) {
-               bool hasPCH = (info.pch_info != INTEL_PCH_NONE);
-
                // disable interrupt generation
                write32(info, find_reg(info, INTEL_INTERRUPT_ENABLED), 0);
                write32(info, find_reg(info, INTEL_INTERRUPT_MASK), ~0);


Other related posts:

  • » [haiku-commits] haiku: hrev53859 - src/add-ons/kernel/drivers/graphics/intel_extreme - Adrien Destugues