]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: Remove unnecessary initialization
authorMahesh Bandewar <maheshb@google.com>
Tue, 7 Apr 2015 23:16:29 +0000 (16:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Apr 2015 16:12:15 +0000 (12:12 -0400)
commitfba4cef3e7b23b2b8c0fdc58bbecf1d4035feadd
tree30d0abfed630425ea0f56f2e9ae8be3485022bc9
parentdf5bc05ecb417929b7088167f7c1855c1f775764
bonding: Remove unnecessary initialization

bond_3ad_bind_slave() calls ad_initialize_port() and then immediately
assigns correct values making some of that initialization unnecessary.

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