]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IB/ipath: Fix some sparse warnings about shadowed symbols
authorRoland Dreier <rolandd@cisco.com>
Fri, 25 Jan 2008 22:15:42 +0000 (14:15 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 25 Jan 2008 22:15:42 +0000 (14:15 -0800)
commitcf9542aa923982428fbf6a6f815c32ae2c3da8c7
tree9e10e3b4920f1a98df8853fa59a52a20ac7ce8ec
parent1d6e658e8e3247fcf0fa90c40fdfebf2e85a610e
IB/ipath: Fix some sparse warnings about shadowed symbols

There are a few places in the ipath driver where a variable is
re-declared within a block where it is already in scope.  Most of these
extra declarations can simply be removed, since the variable from the
outer scope is used in a way so that it does not need to keep its
variable across the block with the re-declaration.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_eeprom.c
drivers/infiniband/hw/ipath/ipath_qp.c