Skip to content

Commit

Permalink
ipw2100: remove strange symbol prefixes
Browse files Browse the repository at this point in the history
From: Pavel Machek <pavel@ucw.cz>

ipw2100 uses strange X__ prefixes even for symbols already prefixed
by ipw2100. Fixed.

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Jiri Benc <jbenc@suse.cz>
  • Loading branch information
Jiri Benc authored and Jeff Garzik committed Aug 26, 2005
1 parent e88187e commit 19f7f74
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions drivers/net/wireless/ipw2100.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,15 @@ that protects the following:
tx_pend_list : Holds used Tx buffers waiting to go into the TBD ring
TAIL modified ipw2100_tx()
HEAD modified by X__ipw2100_tx_send_data()
HEAD modified by ipw2100_tx_send_data()
msg_free_list : Holds pre-allocated Msg (Command) buffers
TAIL modified in __ipw2100_tx_process()
HEAD modified in ipw2100_hw_send_command()
msg_pend_list : Holds used Msg buffers waiting to go into the TBD ring
TAIL modified in ipw2100_hw_send_command()
HEAD modified in X__ipw2100_tx_send_commands()
HEAD modified in ipw2100_tx_send_commands()
The flow of data on the TX side is as follows:
Expand Down Expand Up @@ -287,8 +287,8 @@ static const char *command_types[] = {


/* Pre-decl until we get the code solid and then we can clean it up */
static void X__ipw2100_tx_send_commands(struct ipw2100_priv *priv);
static void X__ipw2100_tx_send_data(struct ipw2100_priv *priv);
static void ipw2100_tx_send_commands(struct ipw2100_priv *priv);
static void ipw2100_tx_send_data(struct ipw2100_priv *priv);
static int ipw2100_adapter_setup(struct ipw2100_priv *priv);

static void ipw2100_queues_initialize(struct ipw2100_priv *priv);
Expand Down Expand Up @@ -736,8 +736,8 @@ static int ipw2100_hw_send_command(struct ipw2100_priv *priv,
list_add_tail(element, &priv->msg_pend_list);
INC_STAT(&priv->msg_pend_stat);

X__ipw2100_tx_send_commands(priv);
X__ipw2100_tx_send_data(priv);
ipw2100_tx_send_commands(priv);
ipw2100_tx_send_data(priv);

spin_unlock_irqrestore(&priv->low_lock, flags);

Expand Down Expand Up @@ -2837,14 +2837,14 @@ static inline void __ipw2100_tx_complete(struct ipw2100_priv *priv)
while (__ipw2100_tx_process(priv) && i < 200) i++;

if (i == 200) {
IPW_DEBUG_WARNING(
printk(KERN_WARNING DRV_NAME ": "
"%s: Driver is running slow (%d iters).\n",
priv->net_dev->name, i);
}
}


static void X__ipw2100_tx_send_commands(struct ipw2100_priv *priv)
static void ipw2100_tx_send_commands(struct ipw2100_priv *priv)
{
struct list_head *element;
struct ipw2100_tx_packet *packet;
Expand Down Expand Up @@ -2912,10 +2912,10 @@ static void X__ipw2100_tx_send_commands(struct ipw2100_priv *priv)


/*
* X__ipw2100_tx_send_data
* ipw2100_tx_send_data
*
*/
static void X__ipw2100_tx_send_data(struct ipw2100_priv *priv)
static void ipw2100_tx_send_data(struct ipw2100_priv *priv)
{
struct list_head *element;
struct ipw2100_tx_packet *packet;
Expand Down Expand Up @@ -3130,8 +3130,8 @@ static void ipw2100_irq_tasklet(struct ipw2100_priv *priv)
IPW2100_INTA_TX_TRANSFER);

__ipw2100_tx_complete(priv);
X__ipw2100_tx_send_commands(priv);
X__ipw2100_tx_send_data(priv);
ipw2100_tx_send_commands(priv);
ipw2100_tx_send_data(priv);
}

if (inta & IPW2100_INTA_TX_COMPLETE) {
Expand Down Expand Up @@ -3282,7 +3282,7 @@ static int ipw2100_tx(struct ieee80211_txb *txb, struct net_device *dev)
list_add_tail(element, &priv->tx_pend_list);
INC_STAT(&priv->tx_pend_stat);

X__ipw2100_tx_send_data(priv);
ipw2100_tx_send_data(priv);

spin_unlock_irqrestore(&priv->low_lock, flags);
return 0;
Expand Down

0 comments on commit 19f7f74

Please sign in to comment.