Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 315278
b: refs/heads/master
c: d3b4044
h: refs/heads/master
v: v3
  • Loading branch information
Eric Lapuyade authored and John W. Linville committed Jul 9, 2012
1 parent b1ee043 commit 09090db
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 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: a9a741a7e2e6337ae5c030e78827c233c08902a7
refs/heads/master: d3b404453192aa195ccfb2f0d946f880b16f8b1f
11 changes: 0 additions & 11 deletions trunk/net/nfc/hci/shdlc.c
Original file line number Diff line number Diff line change
Expand Up @@ -340,15 +340,6 @@ static void nfc_shdlc_connect_complete(struct nfc_shdlc *shdlc, int r)
shdlc->state = SHDLC_CONNECTED;
} else {
shdlc->state = SHDLC_DISCONNECTED;

/*
* TODO: Could it be possible that there are pending
* executing commands that are waiting for connect to complete
* before they can be carried? As connect is a blocking
* operation, it would require that the userspace process can
* send commands on the same device from a second thread before
* the device is up. I don't think that is possible, is it?
*/
}

shdlc->connect_result = r;
Expand Down Expand Up @@ -926,8 +917,6 @@ void nfc_shdlc_free(struct nfc_shdlc *shdlc)
{
pr_debug("\n");

/* TODO: Check that this cannot be called while still in use */

nfc_hci_unregister_device(shdlc->hdev);
nfc_hci_free_device(shdlc->hdev);

Expand Down

0 comments on commit 09090db

Please sign in to comment.