]> git.baikalelectronics.ru Git - kernel.git/commit
nfc: fdp: drop ftrace-like debugging messages
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Mon, 31 May 2021 07:35:12 +0000 (09:35 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 1 Jun 2021 04:31:08 +0000 (21:31 -0700)
commitcd5c4d0756152a14f3419dcac0670f509618961b
tree467767c578d2c42517f1378fca0920f71baf246d
parenta91dd2471c05947f8e1d833bc20cd5a76a110e44
nfc: fdp: drop ftrace-like debugging messages

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>
drivers/nfc/fdp/fdp.c
drivers/nfc/fdp/fdp.h
drivers/nfc/fdp/i2c.c