summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/marvell/libertas/tx.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2017-05-15 23:33:17 +0200
committerKalle Valo <kvalo@codeaurora.org>2017-05-24 15:44:28 +0200
commit4bc606af9fab7d5e3c6f2a333b290f9dce89c19a (patch)
treed00e15d4649c4bdf422067282e063deb27924cbc /drivers/net/wireless/marvell/libertas/tx.c
parentlibertas: Avoid reading past end of buffer (diff)
downloadlinux-4bc606af9fab7d5e3c6f2a333b290f9dce89c19a.tar.xz
linux-4bc606af9fab7d5e3c6f2a333b290f9dce89c19a.zip
libertas: Remove function entry/exit debugging
In at least one place, the enter/exit debugging was not being correctly matched. Based on mailing list feedback, it was desired to drop all of these in favor of using ftrace instead. Suggested-by: Joe Perches <joe@perches.com> Suggested-by: Kalle Valo <kvalo@codeaurora.org> Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/marvell/libertas/tx.c')
-rw-r--r--drivers/net/wireless/marvell/libertas/tx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/marvell/libertas/tx.c b/drivers/net/wireless/marvell/libertas/tx.c
index c025f9c18282..723ba5fd0bfe 100644
--- a/drivers/net/wireless/marvell/libertas/tx.c
+++ b/drivers/net/wireless/marvell/libertas/tx.c
@@ -70,8 +70,6 @@ netdev_tx_t lbs_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
uint16_t pkt_len;
netdev_tx_t ret = NETDEV_TX_OK;
- lbs_deb_enter(LBS_DEB_TX);
-
/* We need to protect against the queues being restarted before
we get round to stopping them */
spin_lock_irqsave(&priv->driver_lock, flags);
@@ -166,7 +164,6 @@ netdev_tx_t lbs_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
spin_unlock_irqrestore(&priv->driver_lock, flags);
wake_up(&priv->waitq);
- lbs_deb_leave_args(LBS_DEB_TX, "ret %d", ret);
return ret;
}