diff options
author | Roland Dreier <rolandd@cisco.com> | 2007-02-16 14:41:14 -0800 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-02-16 14:41:14 -0800 |
commit | 38abaa63bf38dd5e086911e63fbea47ae34674ab (patch) | |
tree | ec9063c05986e5d8605f00a0e14191882e7ed487 /drivers/infiniband/core/sysfs.c | |
parent | c8f6a362bf3eb28ade6027b49bb160a336dd51c0 (diff) | |
download | linux-38abaa63bf38dd5e086911e63fbea47ae34674ab.tar.bz2 |
IB/core: Fix sparse warnings about shadowed declarations
Change a couple of variable names to avoid sparse warnings about
symbols being shadowed.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/core/sysfs.c')
-rw-r--r-- | drivers/infiniband/core/sysfs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/infiniband/core/sysfs.c b/drivers/infiniband/core/sysfs.c index 709323c14c5d..000c086bf2e9 100644 --- a/drivers/infiniband/core/sysfs.c +++ b/drivers/infiniband/core/sysfs.c @@ -714,8 +714,6 @@ int ib_device_register_sysfs(struct ib_device *device) if (ret) goto err_put; } else { - int i; - for (i = 1; i <= device->phys_port_cnt; ++i) { ret = add_port(device, i); if (ret) |