mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
NFC: Remove useless HCI private nfc target table
Signed-off-by: Eric Lapuyade <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]> Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
parent
9009943326
commit
addfabf98d
2 changed files with 0 additions and 9 deletions
|
|
@ -235,13 +235,6 @@ static int nfc_hci_target_discovered(struct nfc_hci_dev *hdev, u8 gate)
|
|||
targets->hci_reader_gate = gate;
|
||||
|
||||
r = nfc_targets_found(hdev->ndev, targets, 1);
|
||||
if (r < 0)
|
||||
goto exit;
|
||||
|
||||
kfree(hdev->targets);
|
||||
hdev->targets = targets;
|
||||
targets = NULL;
|
||||
hdev->target_count = 1;
|
||||
|
||||
exit:
|
||||
kfree(targets);
|
||||
|
|
|
|||
Loading…
Reference in a new issue