commit | 6aa2a86ec430fb1ae739bd065d7ea6596997a2cf | [log] [tgz] |
---|---|---|
author | Alexander Chiang <achiang@hp.com> | Tue Feb 02 19:08:30 2010 +0000 |
committer | Roland Dreier <rolandd@cisco.com> | Wed Feb 24 10:23:44 2010 -0800 |
tree | e26a9fb664c4a9bdf2aafe6efd8ca68bfbdc49b1 | |
parent | 2b937afcab34e4f739e2f7cd6062870fbe6b2ccf [diff] |
IB/umad: Remove port_table[] We no longer need this data structure, as it was used to associate an inode back to a struct ib_umad_port during ->open(). But now that we're embedding a struct cdev in struct ib_umad_port, we can use the container_of() macro to go from the inode back to the device instead. Signed-off-by: Alex Chiang <achiang@hp.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>