summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp/iser/iscsi_iser.h
diff options
context:
space:
mode:
authorSagi Grimberg <sagig@mellanox.com>2014-12-07 16:10:02 +0200
committerRoland Dreier <roland@purestorage.com>2014-12-15 18:11:45 -0800
commit7e1fd4d1e3c801a07609300e03912524b3abb5cb (patch)
treed0fada6fa9449f7b658dfc2517745956ae26ade0 /drivers/infiniband/ulp/iser/iscsi_iser.h
parenta11b3e69359f00ebf75c7f81d1a90ed82a87676d (diff)
downloadblackbird-op-linux-7e1fd4d1e3c801a07609300e03912524b3abb5cb.tar.gz
blackbird-op-linux-7e1fd4d1e3c801a07609300e03912524b3abb5cb.zip
IB/iser: Remove redundant is_mr indicator
It is enough to check mem_h pointer assignment, mem_h == NULL will indicate that buffer is not registered using mr. Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/ulp/iser/iscsi_iser.h')
-rw-r--r--drivers/infiniband/ulp/iser/iscsi_iser.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.h b/drivers/infiniband/ulp/iser/iscsi_iser.h
index 8a5663dae87a..e34263cbecc3 100644
--- a/drivers/infiniband/ulp/iser/iscsi_iser.h
+++ b/drivers/infiniband/ulp/iser/iscsi_iser.h
@@ -252,7 +252,6 @@ struct iscsi_endpoint;
* @va: MR start address (buffer va)
* @len: MR length
* @mem_h: pointer to registration context (FMR/Fastreg)
- * @is_mr: indicates weather we registered the buffer
*/
struct iser_mem_reg {
u32 lkey;
@@ -260,7 +259,6 @@ struct iser_mem_reg {
u64 va;
u64 len;
void *mem_h;
- int is_mr;
};
/**
OpenPOWER on IntegriCloud