aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-06-03 07:51:20 -0400
committerDavid S. Miller <davem@davemloft.net>2011-06-05 17:33:40 -0400
commit6403eab143205a45a5493166ff8bf7e3646f4a77 (patch)
tree7c35249aa9edf24ae0440eaae648bbf1bc831f55 /drivers/net/ixgbe
parentf81c62242045fb7be0a124d8c2540af96d842fad (diff)
drivers/net: Remove unnecessary semicolons
Semicolons are not necessary after switch/while/for/if braces so remove them. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgbe')
-rw-r--r--drivers/net/ixgbe/ixgbe_82599.c4
-rw-r--r--drivers/net/ixgbe/ixgbe_common.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ixgbe/ixgbe_82599.c b/drivers/net/ixgbe/ixgbe_82599.c
index 8ee661245af3..0d7bc9156353 100644
--- a/drivers/net/ixgbe/ixgbe_82599.c
+++ b/drivers/net/ixgbe/ixgbe_82599.c
@@ -1157,7 +1157,7 @@ s32 ixgbe_init_fdir_signature_82599(struct ixgbe_hw *hw, u32 pballoc)
1157 default: 1157 default:
1158 /* bad value */ 1158 /* bad value */
1159 return IXGBE_ERR_CONFIG; 1159 return IXGBE_ERR_CONFIG;
1160 }; 1160 }
1161 1161
1162 /* Move the flexible bytes to use the ethertype - shift 6 words */ 1162 /* Move the flexible bytes to use the ethertype - shift 6 words */
1163 fdirctrl |= (0x6 << IXGBE_FDIRCTRL_FLEX_SHIFT); 1163 fdirctrl |= (0x6 << IXGBE_FDIRCTRL_FLEX_SHIFT);
@@ -1245,7 +1245,7 @@ s32 ixgbe_init_fdir_perfect_82599(struct ixgbe_hw *hw, u32 pballoc)
1245 default: 1245 default:
1246 /* bad value */ 1246 /* bad value */
1247 return IXGBE_ERR_CONFIG; 1247 return IXGBE_ERR_CONFIG;
1248 }; 1248 }
1249 1249
1250 /* Turn perfect match filtering on */ 1250 /* Turn perfect match filtering on */
1251 fdirctrl |= IXGBE_FDIRCTRL_PERFECT_MATCH; 1251 fdirctrl |= IXGBE_FDIRCTRL_PERFECT_MATCH;
diff --git a/drivers/net/ixgbe/ixgbe_common.c b/drivers/net/ixgbe/ixgbe_common.c
index b894b42a741c..de65643b79a4 100644
--- a/drivers/net/ixgbe/ixgbe_common.c
+++ b/drivers/net/ixgbe/ixgbe_common.c
@@ -1292,7 +1292,7 @@ static s32 ixgbe_ready_eeprom(struct ixgbe_hw *hw)
1292 1292
1293 udelay(5); 1293 udelay(5);
1294 ixgbe_standby_eeprom(hw); 1294 ixgbe_standby_eeprom(hw);
1295 }; 1295 }
1296 1296
1297 /* 1297 /*
1298 * On some parts, SPI write time could vary from 0-20mSec on 3.3V 1298 * On some parts, SPI write time could vary from 0-20mSec on 3.3V
@@ -1374,7 +1374,7 @@ static void ixgbe_shift_out_eeprom_bits(struct ixgbe_hw *hw, u16 data,
1374 * EEPROM 1374 * EEPROM
1375 */ 1375 */
1376 mask = mask >> 1; 1376 mask = mask >> 1;
1377 }; 1377 }
1378 1378
1379 /* We leave the "DI" bit set to "0" when we leave this routine. */ 1379 /* We leave the "DI" bit set to "0" when we leave this routine. */
1380 eec &= ~IXGBE_EEC_DI; 1380 eec &= ~IXGBE_EEC_DI;