agp: fix shadowed variable warning in amd-k7-agp.c
authorHarvey Harrison <harvey.harrison@gmail.com>
Sat, 26 Apr 2008 08:38:04 +0000 (18:38 +1000)
committerDave Airlie <airlied@linux.ie>
Sat, 26 Apr 2008 08:38:04 +0000 (18:38 +1000)
commit4ab92bcf773e7b9e1367897047d5fa4d151d9e90
treea3a07dfb9e0249ead26d3ba2e43da500bb312419
parentb1721d0da266b4af8cb4419473b4ca36206ab200
agp: fix shadowed variable warning in amd-k7-agp.c

Introduced between 2.6.25-rc2 and -rc3
drivers/char/agp/amd-k7-agp.c:439:6: warning: symbol 'cap_ptr' shadows an
earlier one
drivers/char/agp/amd-k7-agp.c:414:5: originally declared here

cap_ptr is never used again in this function, don't bother redeclaring.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/agp/amd-k7-agp.c