projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1b0b94
)
NFC: st-nci: Remove HCI init_data.gates initialization in load_session
author
Christophe Ricard
<christophe.ricard@gmail.com>
Sun, 25 Oct 2015 21:54:26 +0000
(22:54 +0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 26 Oct 2015 05:53:14 +0000
(06:53 +0100)
ndev->hci_dev->init_data.gates is already initialized in
st_nci_hci_network.
Cc: stable@vger.kernel.org
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/st-nci/se.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/nfc/st-nci/se.c
b/drivers/nfc/st-nci/se.c
index 4acb945ac252b482a87c0aebb91b9279473c9933..3ffac0e67f945b846f75a0b0a4f811e92e12222b 100644
(file)
--- a/
drivers/nfc/st-nci/se.c
+++ b/
drivers/nfc/st-nci/se.c
@@
-244,9
+244,6
@@
int st_nci_hci_load_session(struct nci_dev *ndev)
kfree_skb(skb_pipe_info);
}
- memcpy(ndev->hci_dev->init_data.gates, st_nci_gates,
- sizeof(st_nci_gates));
-
kfree_skb(skb_pipe_list);
return r;
}