Navigation Menu

Skip to content

Commit

Permalink
[skge] Fix building with GCC 6
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed May 4, 2016
1 parent 65b32a0 commit 76ec2a0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/drivers/net/skge.c
Expand Up @@ -84,9 +84,6 @@ static struct net_device_operations skge_operations = {
/* Avoid conditionals by using array */
static const int txqaddr[] = { Q_XA1, Q_XA2 };
static const int rxqaddr[] = { Q_R1, Q_R2 };
static const u32 rxirqmask[] = { IS_R1_F, IS_R2_F };
static const u32 txirqmask[] = { IS_XA1_F, IS_XA2_F };
static const u32 napimask[] = { IS_R1_F|IS_XA1_F, IS_R2_F|IS_XA2_F };
static const u32 portmask[] = { IS_PORT_1, IS_PORT_2 };

/* Determine supported/advertised modes based on hardware.
Expand Down Expand Up @@ -1922,8 +1919,6 @@ static void skge_tx_clean(struct net_device *dev)
skge->tx_ring.to_clean = e;
}

static const u8 pause_mc_addr[ETH_ALEN] = { 0x1, 0x80, 0xc2, 0x0, 0x0, 0x1 };

static inline u16 phy_length(const struct skge_hw *hw, u32 status)
{
if (hw->chip_id == CHIP_ID_GENESIS)
Expand Down

0 comments on commit 76ec2a0

Please sign in to comment.