summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/marvell/libertas/ethtool.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2017-05-15 14:33:17 -0700
committerKalle Valo <kvalo@codeaurora.org>2017-05-24 16:44:28 +0300
commit4bc606af9fab7d5e3c6f2a333b290f9dce89c19a (patch)
treed00e15d4649c4bdf422067282e063deb27924cbc /drivers/net/wireless/marvell/libertas/ethtool.c
parent12e3c0433e8a3b817fbb978a1be973a04cd5d6f3 (diff)
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/ethtool.c')
-rw-r--r--drivers/net/wireless/marvell/libertas/ethtool.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/marvell/libertas/ethtool.c b/drivers/net/wireless/marvell/libertas/ethtool.c
index f955b2d66ed6..693868f16921 100644
--- a/drivers/net/wireless/marvell/libertas/ethtool.c
+++ b/drivers/net/wireless/marvell/libertas/ethtool.c
@@ -41,8 +41,6 @@ static int lbs_ethtool_get_eeprom(struct net_device *dev,
struct cmd_ds_802_11_eeprom_access cmd;
int ret;
- lbs_deb_enter(LBS_DEB_ETHTOOL);
-
if (eeprom->offset + eeprom->len > LBS_EEPROM_LEN ||
eeprom->len > LBS_EEPROM_READ_LEN) {
ret = -EINVAL;
@@ -59,7 +57,6 @@ static int lbs_ethtool_get_eeprom(struct net_device *dev,
memcpy(bytes, cmd.value, eeprom->len);
out:
- lbs_deb_leave_args(LBS_DEB_ETHTOOL, "ret %d", ret);
return ret;
}