]> 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)
commit82d80f3bb0923af673a912cf8fd630cf0796eae7
tree467767c578d2c42517f1378fca0920f71baf246d
parent77e61603bec3818a6361e47441647ec249f3298c
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