agp/via: remove unused current_size
PATCH 1/1 agp/via: remove unused current_size
No one care the current_size, so don't bother to get current_size.
Signed-off-by Alex Shi <[email protected]>
Cc David Airlie <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
--- drivers/char/agp/via-agp.c | 3 --- 1 file changed, 3 deletions(-)
drivers/char/agp/via-agp.c +0 -3
@@ -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
1.8.3.1
Quoted 8 lines · Alex Shi
No one care the
current_size, so don't bother to getcurrent_size.Signed-off-by Alex Shi <[email protected]>Cc David Airlie <[email protected]>Cc Arnd Bergmann <[email protected]>Cc Greg Kroah-Hartman <[email protected]>
Acked-by Arnd Bergmann <[email protected]>