]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
bonding: reduce scope of some global variables
authorMahesh Bandewar <maheshb@google.com>
Wed, 8 Mar 2017 18:56:02 +0000 (10:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Mar 2017 01:33:29 +0000 (17:33 -0800)
commitdc9c4d0fe023b508f1b41dbe2a3f3133f81b4d29
treed461db31feb7b87f667918d9383f3d51d844cb10
parentec891c8b8da2c3862a5f76ba72f6d140c418d812
bonding: reduce scope of some global variables

Many of the bond param variables are declared global while it's not
really necessary for these variables to be global. So moving them to
the location these are used.

Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c