From 89197e34ea63d7f619dade525de8e69a15f40405 Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Tue, 30 May 2006 18:19:39 -0400 Subject: [AGPGART] Remove pointless code from agp_generic_create_gatt_table() Signed-off-by: Dave Jones --- drivers/char/agp/generic.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'drivers') diff --git a/drivers/char/agp/generic.c b/drivers/char/agp/generic.c index 4e1891e2c035..a92ab53a1370 100644 --- a/drivers/char/agp/generic.c +++ b/drivers/char/agp/generic.c @@ -809,12 +809,10 @@ int agp_generic_create_gatt_table(struct agp_bridge_data *bridge) case U32_APER_SIZE: bridge->current_size = A_IDX32(bridge); break; - /* This case will never really happen. */ + /* These cases will never really happen. */ case FIXED_APER_SIZE: case LVL2_APER_SIZE: default: - bridge->current_size = - bridge->current_size; break; } temp = bridge->current_size; -- cgit v1.2.3