From: Dave Jones Date: Tue, 30 May 2006 22:19:39 +0000 (-0400) Subject: [AGPGART] Remove pointless code from agp_generic_create_gatt_table() X-Git-Tag: v2.6.18-rc1~1113^2~3 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89197e34ea63d7f619dade525de8e69a15f40405;p=linux-2.6 [AGPGART] Remove pointless code from agp_generic_create_gatt_table() Signed-off-by: Dave Jones --- diff --git a/drivers/char/agp/generic.c b/drivers/char/agp/generic.c index 4e1891e2c0..a92ab53a13 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;