Loading include/net/nfc/hci.h +0 −2 Original line number Diff line number Diff line Loading @@ -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; Loading net/nfc/hci/core.c +0 −7 Original line number Diff line number Diff line Loading @@ -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 Loading
include/net/nfc/hci.h +0 −2 Original line number Diff line number Diff line Loading @@ -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; Loading
net/nfc/hci/core.c +0 −7 Original line number Diff line number Diff line Loading @@ -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