]> git.baikalelectronics.ru Git - kernel.git/commit
RDS: IB: Limit the scope of has_fr/has_fmr variables
authorAvinash Repaka <avinash.repaka@oracle.com>
Wed, 4 Oct 2017 19:10:43 +0000 (12:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Oct 2017 04:16:33 +0000 (21:16 -0700)
commit7c5fb1428101fab77883ebc594deaa5e9defb4a4
tree657810005d19fa39ef23a0eb96dc1cd71a32d344
parent1baa213e55b3ef999186b7bda7bbc509c6d632bb
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>
net/rds/ib.c
net/rds/ib.h