aboutsummaryrefslogtreecommitdiff
path: root/include/net/nfc
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2021-03-02 07:21:46 +0100
committerGreg Kroah-Hartman <[email protected]>2021-03-10 09:34:07 +0100
commitc2a5a45c0276a2e183250f35f1db0a032ba00459 (patch)
tree22560b6be894e970c8180a79366818e34ab8d60e /include/net/nfc
parent9f3698e97df00dd5af8275a9433a7036be9388e9 (diff)
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" <[email protected]> Cc: Jakub Kicinski <[email protected]> Cc: [email protected] Signed-off-by: Jiri Slaby <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/net/nfc')
-rw-r--r--include/net/nfc/nci_core.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/nfc/nci_core.h b/include/net/nfc/nci_core.h
index 43c9c5d2bedb..bd76e8e082c0 100644
--- a/include/net/nfc/nci_core.h
+++ b/include/net/nfc/nci_core.h
@@ -430,8 +430,6 @@ struct nci_uart_ops {
int (*open)(struct nci_uart *nci_uart);
void (*close)(struct nci_uart *nci_uart);
int (*recv)(struct nci_uart *nci_uart, struct sk_buff *skb);
- int (*recv_buf)(struct nci_uart *nci_uart, const u8 *data, char *flags,
- int count);
int (*send)(struct nci_uart *nci_uart, struct sk_buff *skb);
void (*tx_start)(struct nci_uart *nci_uart);
void (*tx_done)(struct nci_uart *nci_uart);