]> err.no Git - linux-2.6/commitdiff
[AGPGART] Remove pointless code from agp_generic_create_gatt_table()
authorDave Jones <davej@redhat.com>
Tue, 30 May 2006 22:19:39 +0000 (18:19 -0400)
committerDave Jones <davej@redhat.com>
Tue, 30 May 2006 22:19:39 +0000 (18:19 -0400)
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/char/agp/generic.c

index 4e1891e2c035c97336534bdd9a8ec6b1214d6a37..a92ab53a13703bc4c7df95380613ab2062166503 100644 (file)
@@ -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;