diff options
author | Dmitry Kravkov <dmitry@broadcom.com> | 2011-07-16 16:35:51 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-16 16:35:51 -0400 |
commit | faa2831445cdc95774584045fe10f749fa62244e (patch) | |
tree | 2861831f8742d8349fcaa3dd35de72362b619a35 /drivers/net | |
parent | 2d9a8db54c4b1e206adb3b7942aefd544306560f (diff) |
bnx2x: Fix compilation when CNIC is not selected in config
Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/bnx2x/bnx2x_cmn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2x/bnx2x_cmn.c b/drivers/net/bnx2x/bnx2x_cmn.c index e5fac6244f4a..b05ce9306dea 100644 --- a/drivers/net/bnx2x/bnx2x_cmn.c +++ b/drivers/net/bnx2x/bnx2x_cmn.c | |||
@@ -1403,8 +1403,8 @@ void bnx2x_netif_stop(struct bnx2x *bp, int disable_hw) | |||
1403 | 1403 | ||
1404 | u16 bnx2x_select_queue(struct net_device *dev, struct sk_buff *skb) | 1404 | u16 bnx2x_select_queue(struct net_device *dev, struct sk_buff *skb) |
1405 | { | 1405 | { |
1406 | #ifdef BCM_CNIC | ||
1407 | struct bnx2x *bp = netdev_priv(dev); | 1406 | struct bnx2x *bp = netdev_priv(dev); |
1407 | #ifdef BCM_CNIC | ||
1408 | if (NO_FCOE(bp)) | 1408 | if (NO_FCOE(bp)) |
1409 | return skb_tx_hash(dev, skb); | 1409 | return skb_tx_hash(dev, skb); |
1410 | else { | 1410 | else { |