commit | d451b8df9f7e572ea77f976745f424dd1dae8aeb | [log] [tgz] |
---|---|---|
author | Alexander Chiang <achiang@hp.com> | Tue Feb 02 19:08:35 2010 +0000 |
committer | Roland Dreier <rolandd@cisco.com> | Wed Feb 24 10:23:44 2010 -0800 |
tree | 92d00c446dbfe63d61d3a052b16227908f9c4ae1 | |
parent | 6aa2a86ec430fb1ae739bd065d7ea6596997a2cf [diff] |
IB/umad: Use stack variable 'devnum' in ib_umad_init_port This change is not useful by itself, but sets us up for a future change that allows us to dynamically allocate device numbers in case we have more than IB_UMAD_MAX_PORTS in the system. Signed-off-by: Alex Chiang <achiang@hp.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>