diff options
author | Avinash Repaka <avinash.repaka@oracle.com> | 2017-10-04 12:10:43 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-05 21:16:33 -0700 |
commit | 9dff9936f0ccfffba5106ee4217c71c7bcf95143 (patch) | |
tree | 657810005d19fa39ef23a0eb96dc1cd71a32d344 /net/rds/ib.h | |
parent | 1bcdca3ffbbbed0d09b46cf4263ed2593a418375 (diff) |
RDS: IB: Limit the scope of has_fr/has_fmr variables
This patch fixes the scope of has_fr and has_fmr variables as they are
needed only in rds_ib_add_one().
Signed-off-by: Avinash Repaka <avinash.repaka@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/ib.h')
-rw-r--r-- | net/rds/ib.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/rds/ib.h b/net/rds/ib.h index bf4822407567..6ea6a27891b0 100644 --- a/net/rds/ib.h +++ b/net/rds/ib.h @@ -215,8 +215,6 @@ struct rds_ib_device { struct list_head conn_list; struct ib_device *dev; struct ib_pd *pd; - bool has_fmr; - bool has_fr; bool use_fastreg; unsigned int max_mrs; |