Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit faa28314 authored by Dmitry Kravkov's avatar Dmitry Kravkov Committed by David S. Miller
Browse files

bnx2x: Fix compilation when CNIC is not selected in config

parent 2d9a8db5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1403,8 +1403,8 @@ void bnx2x_netif_stop(struct bnx2x *bp, int disable_hw)

u16 bnx2x_select_queue(struct net_device *dev, struct sk_buff *skb)
{
#ifdef BCM_CNIC
	struct bnx2x *bp = netdev_priv(dev);
#ifdef BCM_CNIC
	if (NO_FCOE(bp))
		return skb_tx_hash(dev, skb);
	else {