]> git.baikalelectronics.ru Git - 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)
commita3f30f93abe6d72b82abbf4463aa9c60a038a684
treed461db31feb7b87f667918d9383f3d51d844cb10
parent58f5c32081922e5f78d30c671b0886eb76f8638e
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