[PATCH 2/8] drm/i915: remove LBB config save/restore

Zhenyu Wang
2011-03-21T09:27:22Z

we don't use it anywhere.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
---
drivers/gpu/drm/i915/i915_suspend.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_suspend.c b/drivers/gpu/drm/i915/i915_suspend.c
index 0521ecf..422981b 100644
--- a/drivers/gpu/drm/i915/i915_suspend.c
+++ b/drivers/gpu/drm/i915/i915_suspend.c
@@ -795,8 +795,6 @@ int i915_save_state(struct drm_device *dev)
struct drm_i915_private *dev_priv = dev->dev_private;
int i;

- pci_read_config_byte(dev->pdev, LBB, &dev_priv->saveLBB);
-
/* Hardware status page */
dev_priv->saveHWS = I915_READ(HWS_PGA);

@@ -844,8 +842,6 @@ int i915_restore_state(struct drm_device *dev)
struct drm_i915_private *dev_priv = dev->dev_private;
int i;

- pci_write_config_byte(dev->pdev, LBB, dev_priv->saveLBB);
-
/* Hardware status page */
I915_WRITE(HWS_PGA, dev_priv->saveHWS);

--
1.7.4.1