diff options
author | Sean Hefty <sean.hefty@intel.com> | 2006-06-17 20:37:39 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-06-17 20:37:39 -0700 |
commit | 75af9088514432ef0c1052ba3767ceb0beb6f101 (patch) | |
tree | 92f312a058889beef2c85a18b9b7f231947c7590 /drivers/infiniband/core/ucm.c | |
parent | 526b4caa0a48382115fa9d8f7d8caf68dbcaa2bf (diff) | |
download | kernel_samsung_smdk4412-75af9088514432ef0c1052ba3767ceb0beb6f101.zip kernel_samsung_smdk4412-75af9088514432ef0c1052ba3767ceb0beb6f101.tar.gz kernel_samsung_smdk4412-75af9088514432ef0c1052ba3767ceb0beb6f101.tar.bz2 |
IB/ucm: Get rid of duplicate P_Key parameter
The P_Key is provided into a SIDR REQ in two places, once as a
parameter, and again in the path record. Remove the P_Key as a
parameter and always use the one given in the path record.
This change has no practical effect on ABI functionality.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/core/ucm.c')
-rw-r--r-- | drivers/infiniband/core/ucm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/core/ucm.c b/drivers/infiniband/core/ucm.c index 67caf36..c1c6fda 100644 --- a/drivers/infiniband/core/ucm.c +++ b/drivers/infiniband/core/ucm.c @@ -1044,7 +1044,6 @@ static ssize_t ib_ucm_send_sidr_req(struct ib_ucm_file *file, param.service_id = cmd.sid; param.timeout_ms = cmd.timeout; param.max_cm_retries = cmd.max_cm_retries; - param.pkey = cmd.pkey; ctx = ib_ucm_ctx_get(file, cmd.id); if (!IS_ERR(ctx)) { |