diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2011-10-05 21:52:28 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-10-05 21:52:28 (GMT) |
commit | f0cd7bdc042310b6b104f133bbfd520a72b3c08a (patch) | |
tree | f48cfaeda37be095b54215c805939dd0ac117bb6 /drivers/net/ethernet/broadcom/bnx2x | |
parent | 011392224b4f6019c3b737f3dcb7c8f6fba41246 (diff) | |
download | linux-f0cd7bdc042310b6b104f133bbfd520a72b3c08a.tar.xz |
bnx2x: remove some dead code
This code is after the break statement so it never gets used. The
"vlan_mac_obj" variable does get initialized properly, so we can just
delete this.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c index 621ab28..28bde16 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c @@ -4353,8 +4353,6 @@ static inline void bnx2x_handle_classification_eqe(struct bnx2x *bp, vlan_mac_obj = &bp->fp[cid].mac_obj; break; - vlan_mac_obj = &bp->fp[cid].mac_obj; - case BNX2X_FILTER_MCAST_PENDING: /* This is only relevant for 57710 where multicast MACs are * configured as unicast MACs using the same ramrod. |