Commit d9960f2b authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by openeuler-sync-bot
Browse files

nfc: fdp: drop ftrace-like debugging messages

stable inclusion
from stable-v5.10.154
commit 31b83d6990c8e5fe8600f4553bbe8beb2b249a56
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I64YCB

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=31b83d6990c8e5fe8600f4553bbe8beb2b249a56



--------------------------------

[ Upstream commit 9571289d ]

Now that the kernel has ftrace, any debugging calls that just do "made
it to this function!" and "leaving this function!" can be removed.
Better to use standard debugging tools.

This allows also to remove several local variables and entire
fdp_nci_recv_frame() function (whose purpose was only to log).

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20210531073522.6720-1-krzysztof.kozlowski@canonical.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Stable-dep-of: 8e4aae6b ("nfc: fdp: Fix potential memory leak in fdp_nci_send()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarLipeng Sang <sanglipeng1@jd.com>
(cherry picked from commit 54d4d9ee)
parent 2c7fcbad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment