diff options
author | Jiri Slaby <jslaby@suse.cz> | 2021-03-02 09:21:47 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-10 11:34:07 +0300 |
commit | 11771e0bf13c9fefc31481a4ebc9271b4d495892 (patch) | |
tree | 6b5f12c6d9d8ccef440d01cfe279153a0ed69bb2 /block/bsg-lib.c | |
parent | c2a5a45c0276a2e183250f35f1db0a032ba00459 (diff) | |
download | linux-11771e0bf13c9fefc31481a4ebc9271b4d495892.tar.xz |
net: nfc: nci: drop nci_uart_default_recv
nci_uart_register returns -EINVAL immediately when nu->ops.recv is not
set. So the same 'if' later never triggers so nci_uart_default_recv is
never used. Drop it.
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: netdev@vger.kernel.org
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210302062214.29627-17-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block/bsg-lib.c')
0 files changed, 0 insertions, 0 deletions