Commit f723a1a2 authored by Michał Mirosław's avatar Michał Mirosław Committed by David S. Miller
Browse files

cnic: remove use of VLAN_TAG_PRESENT



This just removes VLAN_TAG_PRESENT use.  VLAN TCI=0 special meaning is
deeply embedded in the driver code and so is left as is.

Signed-off-by: default avatarMichał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1ef212af
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -5731,7 +5731,7 @@ static int cnic_netdev_event(struct notifier_block *this, unsigned long event,
		if (realdev) {
		if (realdev) {
			dev = cnic_from_netdev(realdev);
			dev = cnic_from_netdev(realdev);
			if (dev) {
			if (dev) {
				vid |= VLAN_TAG_PRESENT;
				vid |= VLAN_CFI_MASK;	/* make non-zero */
				cnic_rcv_netevent(dev->cnic_priv, event, vid);
				cnic_rcv_netevent(dev->cnic_priv, event, vid);
				cnic_put(dev);
				cnic_put(dev);
			}
			}