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:Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Link: https://lore.kernel.org/r/20210531073522.6720-1-krzysztof.kozlowski@canonical.com Signed-off-by:
Jakub Kicinski <kuba@kernel.org> Stable-dep-of: 8e4aae6b ("nfc: fdp: Fix potential memory leak in fdp_nci_send()") Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Lipeng Sang <sanglipeng1@jd.com>
Loading
Please sign in to comment