Browse Source

[skge] Fix building with GCC 6

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 8 years ago
parent
commit
76ec2a0540
1 changed files with 0 additions and 5 deletions
  1. 0
    5
      src/drivers/net/skge.c

+ 0
- 5
src/drivers/net/skge.c View File

@@ -84,9 +84,6 @@ static struct net_device_operations skge_operations = {
84 84
 /* Avoid conditionals by using array */
85 85
 static const int txqaddr[] = { Q_XA1, Q_XA2 };
86 86
 static const int rxqaddr[] = { Q_R1, Q_R2 };
87
-static const u32 rxirqmask[] = { IS_R1_F, IS_R2_F };
88
-static const u32 txirqmask[] = { IS_XA1_F, IS_XA2_F };
89
-static const u32 napimask[] = { IS_R1_F|IS_XA1_F, IS_R2_F|IS_XA2_F };
90 87
 static const u32 portmask[] = { IS_PORT_1, IS_PORT_2 };
91 88
 
92 89
 /* Determine supported/advertised modes based on hardware.
@@ -1922,8 +1919,6 @@ static void skge_tx_clean(struct net_device *dev)
1922 1919
 	skge->tx_ring.to_clean = e;
1923 1920
 }
1924 1921
 
1925
-static const u8 pause_mc_addr[ETH_ALEN] = { 0x1, 0x80, 0xc2, 0x0, 0x0, 0x1 };
1926
-
1927 1922
 static inline u16 phy_length(const struct skge_hw *hw, u32 status)
1928 1923
 {
1929 1924
 	if (hw->chip_id == CHIP_ID_GENESIS)

Loading…
Cancel
Save