Skip to contentSkip to conversation

remove agpgart_be.c unused variables

PATCH New [email protected] 1 participant 1 message Jun 8, 2002 Agpgart driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove agpgart_be.c unused variables

This patch removes a few un-needed variables in agpgart_be.c. Patch is against 2.4.19-pre10.

drivers/char/agp/agpgart_be.c +1 -2
@@ -397,7 +397,7 @@
 static void agp_generic_agp_enable(u32 mode)
 {
 	struct pci_dev *device = NULL;
-	u32 command, scratch, cap_id;
+	u32 command, scratch;
 	u8 cap_ptr;
 
 	pci_read_config_dword(agp_bridge.dev,
@@ -4201,7 +4201,6 @@
 {
 	struct pci_dev *dev = NULL;
 	u8 cap_ptr = 0x00;
-	u32 cap_id, scratch;
 
 	if ((dev = pci_find_class(PCI_CLASS_BRIDGE_HOST << 8, NULL)) == NULL)
 		return -ENODEV;