Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306684
b: refs/heads/master
c: addfabf
h: refs/heads/master
v: v3
  • Loading branch information
Eric Lapuyade authored and John W. Linville committed May 15, 2012
1 parent 584be05 commit f8f2bcf
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 900994332675f84a9fbbb33ff089474614c7f2fe
refs/heads/master: addfabf98daad7b469ad788a622dbeab6aaaa330
2 changes: 0 additions & 2 deletions trunk/include/net/nfc/hci.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
7 changes: 0 additions & 7 deletions trunk/net/nfc/hci/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f8f2bcf

Please sign in to comment.