Skip to contentSkip to conversation

via-agp: remove redundant pointer current_size

PATCH New Colin Ian King 1 participant 1 message Dec 21, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 via-agp: remove redundant pointer current_size

Pointer current_size is being assigned a value but it is never read. The pointer is redundant and can be removed.

---
 drivers/char/agp/via-agp.c | 3 ---
 1 file changed, 3 deletions(-)
drivers/char/agp/via-agp.c +0 -3
index a460ae352772..b2f484f527fb 100644
@@ -128,9 +128,6 @@ static int via_fetch_size_agp3(void)
 static int via_configure_agp3(void)
 {
 	u32 temp;
-	struct aper_size_info_16 *current_size;
-
-	current_size = A_SIZE_16(agp_bridge->current_size);
 
 	/* address to map to */
 	agp_bridge->gart_bus_addr = pci_bus_address(agp_bridge->dev,
Signature · 1 line
2.33.1