aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/e1000
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2010-02-23 01:19:22 -0800
committerDavid S. Miller <davem@davemloft.net>2010-02-23 01:19:22 -0800
commit10886af54a2478f97f2d5f89bbe270b99206f8ab (patch)
tree47c04fe2b4913772ab423fc2a2d0ae1d46c19ea9 /drivers/net/e1000
parent295fae568885a93c39a0e29a9455054608b6cc0e (diff)
e1000: correct wrong coding style for "else"
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000')
-rw-r--r--drivers/net/e1000/e1000_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c
index c99f95c1b41..319c2b5281e 100644
--- a/drivers/net/e1000/e1000_main.c
+++ b/drivers/net/e1000/e1000_main.c
@@ -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++);
}
}