diff options
author | Xin Long <lucien.xin@gmail.com> | 2022-02-23 22:41:08 -0500 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-02-24 09:18:29 -0800 |
commit | cd33bdcbead882c2e58fdb4a54a7bd75b610a452 (patch) | |
tree | aa51ac7cfebc0092daa6aa2a9d11a122df92af79 /net/bluetooth/hci_core.c | |
parent | fe20371578ef640069e6ae9fa8038f60e7908565 (diff) | |
download | linux-cd33bdcbead882c2e58fdb4a54a7bd75b610a452.tar.gz linux-cd33bdcbead882c2e58fdb4a54a7bd75b610a452.tar.bz2 linux-cd33bdcbead882c2e58fdb4a54a7bd75b610a452.zip |
ping: remove pr_err from ping_lookup
As Jakub noticed, prints should be avoided on the datapath.
Also, as packets would never come to the else branch in
ping_lookup(), remove pr_err() from ping_lookup().
Fixes: 35a79e64de29 ("ping: fix the dif and sdif check in ping_lookup")
Reported-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Link: https://lore.kernel.org/r/1ef3f2fcd31bd681a193b1fcf235eee1603819bd.1645674068.git.lucien.xin@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/bluetooth/hci_core.c')
0 files changed, 0 insertions, 0 deletions