]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit9dff9936f0ccfffba5106ee4217c71c7bcf95143
tree657810005d19fa39ef23a0eb96dc1cd71a32d344
parent1bcdca3ffbbbed0d09b46cf4263ed2593a418375
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