]> 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)
commitb48e7d1291c52d9cc8ea6bacc6e2bec1c835cac6
treed461db31feb7b87f667918d9383f3d51d844cb10
parent500d3fc5c0ad88f305b093722d44f1ed97af2b0a
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