diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2007-02-09 09:24:29 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-02-11 02:19:16 -0500 |
commit | f7d57453d20e27de69ecafd121005e9d13a0f427 (patch) | |
tree | 68fc3b10116cbd4e20411a08fd7f6cc2510c3442 /net/atm/lec.c | |
parent | ed4477b96049fe2908c63f854bf8e37c6df4a635 (diff) |
[NET] ATM: Fix whitespace errors.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm/lec.c')
-rw-r--r-- | net/atm/lec.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/net/atm/lec.c b/net/atm/lec.c index 3fc0abeeaf34..57dc2ab1b65d 100644 --- a/net/atm/lec.c +++ b/net/atm/lec.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * lec.c: Lan Emulation driver | 2 | * lec.c: Lan Emulation driver |
3 | * | 3 | * |
4 | * Marko Kiiskila <mkiiskila@yahoo.com> | 4 | * Marko Kiiskila <mkiiskila@yahoo.com> |
5 | */ | 5 | */ |
@@ -1457,7 +1457,7 @@ static void lane2_associate_ind(struct net_device *dev, u8 *mac_addr, | |||
1457 | static void lec_arp_check_expire(struct work_struct *work); | 1457 | static void lec_arp_check_expire(struct work_struct *work); |
1458 | static void lec_arp_expire_arp(unsigned long data); | 1458 | static void lec_arp_expire_arp(unsigned long data); |
1459 | 1459 | ||
1460 | /* | 1460 | /* |
1461 | * Arp table funcs | 1461 | * Arp table funcs |
1462 | */ | 1462 | */ |
1463 | 1463 | ||
@@ -1473,9 +1473,9 @@ static void lec_arp_init(struct lec_priv *priv) | |||
1473 | for (i = 0; i < LEC_ARP_TABLE_SIZE; i++) { | 1473 | for (i = 0; i < LEC_ARP_TABLE_SIZE; i++) { |
1474 | INIT_HLIST_HEAD(&priv->lec_arp_tables[i]); | 1474 | INIT_HLIST_HEAD(&priv->lec_arp_tables[i]); |
1475 | } | 1475 | } |
1476 | INIT_HLIST_HEAD(&priv->lec_arp_empty_ones); | 1476 | INIT_HLIST_HEAD(&priv->lec_arp_empty_ones); |
1477 | INIT_HLIST_HEAD(&priv->lec_no_forward); | 1477 | INIT_HLIST_HEAD(&priv->lec_no_forward); |
1478 | INIT_HLIST_HEAD(&priv->mcast_fwds); | 1478 | INIT_HLIST_HEAD(&priv->mcast_fwds); |
1479 | spin_lock_init(&priv->lec_arp_lock); | 1479 | spin_lock_init(&priv->lec_arp_lock); |
1480 | INIT_DELAYED_WORK(&priv->lec_arp_work, lec_arp_check_expire); | 1480 | INIT_DELAYED_WORK(&priv->lec_arp_work, lec_arp_check_expire); |
1481 | schedule_delayed_work(&priv->lec_arp_work, LEC_ARP_REFRESH_INTERVAL); | 1481 | schedule_delayed_work(&priv->lec_arp_work, LEC_ARP_REFRESH_INTERVAL); |
@@ -1770,7 +1770,7 @@ static void lec_arp_destroy(struct lec_priv *priv) | |||
1770 | spin_unlock_irqrestore(&priv->lec_arp_lock, flags); | 1770 | spin_unlock_irqrestore(&priv->lec_arp_lock, flags); |
1771 | } | 1771 | } |
1772 | 1772 | ||
1773 | /* | 1773 | /* |
1774 | * Find entry by mac_address | 1774 | * Find entry by mac_address |
1775 | */ | 1775 | */ |
1776 | static struct lec_arp_table *lec_arp_find(struct lec_priv *priv, | 1776 | static struct lec_arp_table *lec_arp_find(struct lec_priv *priv, |
@@ -1949,7 +1949,7 @@ restart: | |||
1949 | 1949 | ||
1950 | /* | 1950 | /* |
1951 | * Try to find vcc where mac_address is attached. | 1951 | * Try to find vcc where mac_address is attached. |
1952 | * | 1952 | * |
1953 | */ | 1953 | */ |
1954 | static struct atm_vcc *lec_arp_resolve(struct lec_priv *priv, | 1954 | static struct atm_vcc *lec_arp_resolve(struct lec_priv *priv, |
1955 | unsigned char *mac_to_find, int is_rdesc, | 1955 | unsigned char *mac_to_find, int is_rdesc, |
@@ -2075,7 +2075,7 @@ lec_addr_delete(struct lec_priv *priv, unsigned char *atm_addr, | |||
2075 | } | 2075 | } |
2076 | 2076 | ||
2077 | /* | 2077 | /* |
2078 | * Notifies: Response to arp_request (atm_addr != NULL) | 2078 | * Notifies: Response to arp_request (atm_addr != NULL) |
2079 | */ | 2079 | */ |
2080 | static void | 2080 | static void |
2081 | lec_arp_update(struct lec_priv *priv, unsigned char *mac_addr, | 2081 | lec_arp_update(struct lec_priv *priv, unsigned char *mac_addr, |
@@ -2176,7 +2176,7 @@ out: | |||
2176 | } | 2176 | } |
2177 | 2177 | ||
2178 | /* | 2178 | /* |
2179 | * Notifies: Vcc setup ready | 2179 | * Notifies: Vcc setup ready |
2180 | */ | 2180 | */ |
2181 | static void | 2181 | static void |
2182 | lec_vcc_added(struct lec_priv *priv, struct atmlec_ioc *ioc_data, | 2182 | lec_vcc_added(struct lec_priv *priv, struct atmlec_ioc *ioc_data, |
@@ -2380,7 +2380,7 @@ lec_set_flush_tran_id(struct lec_priv *priv, | |||
2380 | if (!memcmp(atm_addr, entry->atm_addr, ATM_ESA_LEN)) { | 2380 | if (!memcmp(atm_addr, entry->atm_addr, ATM_ESA_LEN)) { |
2381 | entry->flush_tran_id = tran_id; | 2381 | entry->flush_tran_id = tran_id; |
2382 | DPRINTK("Set flush transaction id to %lx for %p\n", | 2382 | DPRINTK("Set flush transaction id to %lx for %p\n", |
2383 | tran_id, entry); | 2383 | tran_id, entry); |
2384 | } | 2384 | } |
2385 | } | 2385 | } |
2386 | spin_unlock_irqrestore(&priv->lec_arp_lock, flags); | 2386 | spin_unlock_irqrestore(&priv->lec_arp_lock, flags); |