summaryrefslogtreecommitdiffstats
path: root/net/llc
diff options
context:
space:
mode:
authorNicolas de Pesloüan2009-10-07 23:11:00 +0200
committerDavid S. Miller2009-10-07 23:11:00 +0200
commit49b4ad92d1a5bb9909deb3216ffec6f0febc7b71 (patch)
tree0059b4df75efc6a8b1a44751912ed6a425d9ed4f /net/llc
parentbonding: fix a parameter name in error message (diff)
downloadkernel-qcow2-linux-49b4ad92d1a5bb9909deb3216ffec6f0febc7b71.tar.gz
kernel-qcow2-linux-49b4ad92d1a5bb9909deb3216ffec6f0febc7b71.tar.xz
kernel-qcow2-linux-49b4ad92d1a5bb9909deb3216ffec6f0febc7b71.zip
bonding: remove useless assignment
The variable old_active is first set to bond->curr_active_slave. Then, it is unconditionally set to new_active, without being used in between. The first assignment, having no side effect, is useless. Signed-off-by: Nicolas de Pesloüan <nicolas.2p.debian@free.fr> Reviewed-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/llc')
0 files changed, 0 insertions, 0 deletions