projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e60a48f
)
[AGPGART] Remove pointless code from agp_generic_create_gatt_table()
author
Dave Jones
<davej@redhat.com>
Tue, 30 May 2006 22:19:39 +0000
(18:19 -0400)
committer
Dave 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
patch
|
blob
|
history
diff --git
a/drivers/char/agp/generic.c
b/drivers/char/agp/generic.c
index 4e1891e2c035c97336534bdd9a8ec6b1214d6a37..a92ab53a13703bc4c7df95380613ab2062166503 100644
(file)
--- 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;