Skip to contentSkip to conversation

e1000: correct wrong coding style for "else"

PATCH Applied Jiri Pirko 2 participants 2 messages Feb 23, 2010

Subsystems (2)
lore
Share & tools
lore

Jiri Pirko

author
#0 lore raw

PATCH 1/1 e1000: correct wrong coding style for "else"

---
 drivers/net/e1000/e1000_main.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
drivers/net/e1000/e1000_main.c +1 -2
index c99f95c..319c2b5 100644
@@ -2170,8 +2170,7 @@ static void e1000_set_rx_mode(struct net_device *netdev)
 			hash_bit = hash_value & 0x1F;
 			mta = (1 << hash_bit);
 			mcarray[hash_reg] |= mta;
-		}
-		else {
+		} else {
 			e1000_rar_set(hw, mc_ptr->da_addr, i++);
 		}
 	}
Signature · 1 line
1.6.6