bnx2x: remove some dead code
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 5 Oct 2011 21:52:28 +0000 (17:52 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Oct 2011 21:52:28 +0000 (17:52 -0400)
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>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c

index 621ab281ed8972066b99659888d9fbdd441fdf81..28bde1610ffba31487bfe0ec0b1c7405301dabfd 100644 (file)
@@ -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.