]> 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)
commitef3f939dd0782c20f6d59c37d7bd7b2b896da8f8
tree30d0abfed630425ea0f56f2e9ae8be3485022bc9
parentc7965f81bec13bfea93e5f69ed12fb51f91c7d02
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