diff options
author | Christophe Ricard <christophe.ricard@gmail.com> | 2015-01-27 01:18:18 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2015-01-28 00:03:36 +0100 |
commit | ec14b6c93c2f804f302b8ea1736539d39b9c544b (patch) | |
tree | 975f7fc565a1811e143f6294271ff4501390820a /net/nfc/hci/hcp.c | |
parent | d6365c018b3f9e12eeb262407ccf5b143bcc6bad (diff) | |
download | linux-ec14b6c93c2f804f302b8ea1736539d39b9c544b.tar.bz2 |
NFC: hci: Remove nfc_hci_pipe2gate function
With the newly introduced pipes table hci_dev fields,
the nfc_hci_pipe2gate routine is no longer needed.
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc/hci/hcp.c')
-rw-r--r-- | net/nfc/hci/hcp.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/net/nfc/hci/hcp.c b/net/nfc/hci/hcp.c index e9de1514656e..1fe725d66085 100644 --- a/net/nfc/hci/hcp.c +++ b/net/nfc/hci/hcp.c @@ -124,17 +124,6 @@ out_skb_err: return err; } -u8 nfc_hci_pipe2gate(struct nfc_hci_dev *hdev, u8 pipe) -{ - int gate; - - for (gate = 0; gate < NFC_HCI_MAX_GATES; gate++) - if (hdev->gate2pipe[gate] == pipe) - return gate; - - return 0xff; -} - /* * Receive hcp message for pipe, with type and cmd. * skb contains optional message data only. |