From: Kalle Valo Date: Tue, 30 Apr 2013 17:30:30 +0300 Subject: [ath9k-devel] [PATCH 20/27] ath10k: rename msg_callbacks variable in ath10k_pci_process_ce() In-Reply-To: <20130430142240.24217.41973.stgit@localhost6.localdomain6> References: <20130430142240.24217.41973.stgit@localhost6.localdomain6> Message-ID: <20130430143030.24217.16874.stgit@localhost6.localdomain6> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Shorter lines that way. Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath10k/pci.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/pci.c b/drivers/net/wireless/ath/ath10k/pci.c index 24ab76e..cb2e88e 100644 --- a/drivers/net/wireless/ath/ath10k/pci.c +++ b/drivers/net/wireless/ath/ath10k/pci.c @@ -875,7 +875,7 @@ static void ath10k_pci_cleanup_ce(struct ath10k *ar) static void ath10k_pci_process_ce(struct ath10k *ar) { struct ath10k_pci *ar_pci = ar->hif.priv; - struct ath10k_hif_cb *msg_callbacks = &ar_pci->msg_callbacks_current; + struct ath10k_hif_cb *cb = &ar_pci->msg_callbacks_current; struct ath10k_pci_compl *compl; struct sk_buff *skb; unsigned int nbytes; @@ -894,9 +894,9 @@ static void ath10k_pci_process_ce(struct ath10k *ar) spin_unlock_bh(&ar_pci->compl_lock); if (compl->send_or_recv == HIF_CE_COMPLETE_SEND) { - msg_callbacks->tx_completion_handler(ar, - compl->transfer_context, - compl->transfer_id); + cb->tx_completion_handler(ar, + compl->transfer_context, + compl->transfer_id); send_done = 1; } else { ret = ath10k_pci_post_rx_pipe(compl->pipe_info, 1); @@ -918,8 +918,8 @@ static void ath10k_pci_process_ce(struct ath10k *ar) if (skb->len + skb_tailroom(skb) >= nbytes) { skb_trim(skb, 0); skb_put(skb, nbytes); - msg_callbacks->rx_completion_handler(ar, skb, - compl->pipe_info->pipe_num); + cb->rx_completion_handler(ar, skb, + compl->pipe_info->pipe_num); } else { ath10k_warn("%s: rxed more than expected (nbytes %d, max %d)", __func__, nbytes,