[PATCH RESEND net-next 4/7] bonding: slight optimizztion for bond_slave_override()

2014-01-01 Thread Ding Tianhong
When the skb is xmit by the function bond_slave_override(), it will have duplicate judgement for slave state, and I think it will consumes a little performance, maybe it is negligible, so I simplify the function and remove the unwanted judgement. Signed-off-by: Ding Tianhong ---

[PATCH RESEND net-next 4/7] bonding: slight optimizztion for bond_slave_override()

2014-01-01 Thread Ding Tianhong
When the skb is xmit by the function bond_slave_override(), it will have duplicate judgement for slave state, and I think it will consumes a little performance, maybe it is negligible, so I simplify the function and remove the unwanted judgement. Signed-off-by: Ding Tianhong