Skip to content
Commit 49b4ad92 authored by Nicolas de Pesloüan's avatar Nicolas de Pesloüan Committed by David S. Miller
Browse files

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: default avatarNicolas de Pesloüan <nicolas.2p.debian@free.fr>
Reviewed-by: default avatarJiri Pirko <jpirko@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3c6aaa24
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment