mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 10:33:27 +00:00
NFC: Remove useless HCI private nfc target table
Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
9009943326
commit
addfabf98d
2 changed files with 0 additions and 9 deletions
|
@ -83,8 +83,6 @@ struct nfc_hci_dev {
|
|||
u8 gate2pipe[NFC_HCI_MAX_GATES];
|
||||
|
||||
bool poll_started;
|
||||
struct nfc_target *targets;
|
||||
int target_count;
|
||||
|
||||
u8 sw_romlib;
|
||||
u8 sw_patch;
|
||||
|
|
|
@ -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