]> git.baikalelectronics.ru Git - kernel.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)
commit5a16b846cd774c1af920c12d78829ac498757f7f
tree9e10e3b4920f1a98df8853fa59a52a20ac7ce8ec
parent30ad14ab57e58834e70ad332bdb8905b50f94cf3
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