Commit c21c1ae1 authored by Dave Jones's avatar Dave Jones

[AGPGART] Remove unneeded settings of bridge->type.

It's now done in the static structs.
parent 04b5428c
...@@ -1314,17 +1314,14 @@ static int __init agp_intel_probe(struct pci_dev *pdev, ...@@ -1314,17 +1314,14 @@ static int __init agp_intel_probe(struct pci_dev *pdev,
switch (pdev->device) { switch (pdev->device) {
case PCI_DEVICE_ID_INTEL_82443LX_0: case PCI_DEVICE_ID_INTEL_82443LX_0:
bridge = &intel_generic_bridge; bridge = &intel_generic_bridge;
bridge->type = INTEL_GENERIC;
name = "440LX"; name = "440LX";
break; break;
case PCI_DEVICE_ID_INTEL_82443BX_0: case PCI_DEVICE_ID_INTEL_82443BX_0:
bridge = &intel_generic_bridge; bridge = &intel_generic_bridge;
bridge->type = INTEL_GENERIC;
name = "440BX"; name = "440BX";
break; break;
case PCI_DEVICE_ID_INTEL_82443GX_0: case PCI_DEVICE_ID_INTEL_82443GX_0:
bridge = &intel_generic_bridge; bridge = &intel_generic_bridge;
bridge->type = INTEL_GENERIC;
name = "440GX"; name = "440GX";
break; break;
case PCI_DEVICE_ID_INTEL_82810_MC1: case PCI_DEVICE_ID_INTEL_82810_MC1:
...@@ -1382,7 +1379,6 @@ static int __init agp_intel_probe(struct pci_dev *pdev, ...@@ -1382,7 +1379,6 @@ static int __init agp_intel_probe(struct pci_dev *pdev,
bridge = &intel_830_bridge; bridge = &intel_830_bridge;
} else { } else {
bridge = &intel_845_bridge; bridge = &intel_845_bridge;
bridge->type = INTEL_GENERIC;
} }
name = "845G"; name = "845G";
break; break;
...@@ -1396,7 +1392,6 @@ static int __init agp_intel_probe(struct pci_dev *pdev, ...@@ -1396,7 +1392,6 @@ static int __init agp_intel_probe(struct pci_dev *pdev,
name = "855"; name = "855";
} else { } else {
bridge = &intel_845_bridge; bridge = &intel_845_bridge;
bridge->type = INTEL_GENERIC;
name = "855PM"; name = "855PM";
} }
break; break;
...@@ -1409,7 +1404,6 @@ static int __init agp_intel_probe(struct pci_dev *pdev, ...@@ -1409,7 +1404,6 @@ static int __init agp_intel_probe(struct pci_dev *pdev,
bridge = &intel_830_bridge; bridge = &intel_830_bridge;
} else { } else {
bridge = &intel_845_bridge; bridge = &intel_845_bridge;
bridge->type = INTEL_GENERIC;
} }
name = "865"; name = "865";
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment