bonding: Simplify __get_duplex function.
authorMahesh Bandewar <maheshb@google.com>
Sat, 31 Oct 2015 19:45:00 +0000 (12:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Nov 2015 03:52:24 +0000 (22:52 -0500)
commitb25c2e7d3c44aaadee55d70f70c31cbc9014c713
treeed044491d04e79672d4b734c0c050b32bfd9ae64
parent12d4309636d30770b54985be05ac512131f328b8
bonding: Simplify __get_duplex function.

Eliminate 'else' clause by simply initializing variable

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