Commit 5c4aa6af authored by Chas Williams's avatar Chas Williams Committed by David S. Miller

[ATM]: [lec] remove unnecessary inlines (from Adrian Bunk <bunk@fs.tum.de>)

Signed-off-by: default avatarAdrian Bunk <bunk@fs.tum.de>
Signed-off-by: default avatarChas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: default avatarDavid S. Miller <davem@redhat.com>
parent 5879bd6c
...@@ -71,9 +71,9 @@ static int lec_start_xmit(struct sk_buff *skb, struct net_device *dev); ...@@ -71,9 +71,9 @@ static int lec_start_xmit(struct sk_buff *skb, struct net_device *dev);
static int lec_close(struct net_device *dev); static int lec_close(struct net_device *dev);
static struct net_device_stats *lec_get_stats(struct net_device *dev); static struct net_device_stats *lec_get_stats(struct net_device *dev);
static void lec_init(struct net_device *dev); static void lec_init(struct net_device *dev);
static inline struct lec_arp_table* lec_arp_find(struct lec_priv *priv, static struct lec_arp_table* lec_arp_find(struct lec_priv *priv,
unsigned char *mac_addr); unsigned char *mac_addr);
static inline int lec_arp_remove(struct lec_priv *priv, static int lec_arp_remove(struct lec_priv *priv,
struct lec_arp_table *to_remove); struct lec_arp_table *to_remove);
/* LANE2 functions */ /* LANE2 functions */
static void lane2_associate_ind (struct net_device *dev, u8 *mac_address, static void lane2_associate_ind (struct net_device *dev, u8 *mac_address,
...@@ -1468,7 +1468,7 @@ lec_arp_add(struct lec_priv *priv, struct lec_arp_table *to_add) ...@@ -1468,7 +1468,7 @@ lec_arp_add(struct lec_priv *priv, struct lec_arp_table *to_add)
/* /*
* Remove entry from lec_arp_table * Remove entry from lec_arp_table
*/ */
static inline int static int
lec_arp_remove(struct lec_priv *priv, lec_arp_remove(struct lec_priv *priv,
struct lec_arp_table *to_remove) struct lec_arp_table *to_remove)
{ {
...@@ -1755,7 +1755,7 @@ lec_arp_destroy(struct lec_priv *priv) ...@@ -1755,7 +1755,7 @@ lec_arp_destroy(struct lec_priv *priv)
/* /*
* Find entry by mac_address * Find entry by mac_address
*/ */
static inline struct lec_arp_table* static struct lec_arp_table*
lec_arp_find(struct lec_priv *priv, lec_arp_find(struct lec_priv *priv,
unsigned char *mac_addr) unsigned char *mac_addr)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment