IB/uverbs: Use stack variable 'devnum' in ib_uverbs_add_one
authorAlexander Chiang <achiang@hp.com>
Tue, 2 Feb 2010 19:07:59 +0000 (19:07 +0000)
committerRoland Dreier <rolandd@cisco.com>
Wed, 24 Feb 2010 18:23:40 +0000 (10:23 -0800)
This change is not useful by itself, but it sets us up for a future
change that allows us to dynamically allocate device numbers in case
we have more than IB_UVERBS_MAX_DEVICES in the system.

Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found