IB/user_mad: Use new start/end port functions
authorIra Weiny <ira.weiny@intel.com>
Thu, 14 May 2015 00:02:56 +0000 (20:02 -0400)
committerDoug Ledford <dledford@redhat.com>
Wed, 20 May 2015 16:36:17 +0000 (12:36 -0400)
commitab8be619b81a0d83706294bd791407e0f497d646
treee36a5d2f71683df06edcf7494f0799a334d99521
parent0cf18d7723055709faf51b50f5a33253b480637f
IB/user_mad: Use new start/end port functions

Use the new common rdma_[start|end]_port functions instead of using
local variables and figuring it out on the fly.

Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/user_mad.c