From: Veaceslav Falico Date: Thu, 29 Aug 2013 21:38:56 +0000 (+0200) Subject: bonding: remove bond_vlan_used() X-Git-Tag: v3.12-rc1~132^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f477d420183f7cacc73f46a93e12961cb234e91;p=pandora-kernel.git bonding: remove bond_vlan_used() We're using it currently to verify if we have vlans before getting the tag from the skb we're about to send. It's useless because the vlan_get_tag() verifies if the skb has the tag (and returns an error if not), and we can receive tagged skbs only if we *already* have vlans. Plus, the current RCUed implementation is kind of useless anyway - the we can remove the last vlan in the moment we return from the function. So remove the only usage of it and the whole function. CC: Jay Vosburgh CC: Andy Gospodarek Signed-off-by: Veaceslav Falico Signed-off-by: David S. Miller --- Reading git-diff-tree failed