OSDN Git Service

net: nfc: nci: drop nci_uart_ops::recv_buf
authorJiri Slaby <jslaby@suse.cz>
Tue, 2 Mar 2021 06:21:46 +0000 (07:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Mar 2021 08:34:07 +0000 (09:34 +0100)
commitc2a5a45c0276a2e183250f35f1db0a032ba00459
tree22560b6be894e970c8180a79366818e34ab8d60e
parent9f3698e97df00dd5af8275a9433a7036be9388e9
net: nfc: nci: drop nci_uart_ops::recv_buf

There is noone setting nci_uart_ops::recv_buf, so the default one
(nci_uart_default_recv_buf) is always used. So drop this hook, move
nci_uart_default_recv_buf before the use in nci_uart_tty_receive and
remove unused parameter flags.

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-16-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/net/nfc/nci_core.h
net/nfc/nci/uart.c