diff options
author | Christophe Ricard <christophe.ricard@gmail.com> | 2015-10-25 22:54:27 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2015-10-26 06:53:14 +0100 |
commit | 4d37a772b7437bed2ffb94e391a0534198588d20 (patch) | |
tree | be4a56a3574330385529b2a5dc9bbd2909c246b4 /drivers/nfc/st21nfca | |
parent | 543a0a301fb831f19a37ac06fbe8094e0b5a2c73 (diff) |
NFC: st21nfca: Remove HCI gates initialization in load_session
hdev->init_data.gates is already initialized in st21nfca_hci_probe.
Cc: stable@vger.kernel.org
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/st21nfca')
-rw-r--r-- | drivers/nfc/st21nfca/core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/nfc/st21nfca/core.c b/drivers/nfc/st21nfca/core.c index 42f197407a00..67d1c27a41ee 100644 --- a/drivers/nfc/st21nfca/core.c +++ b/drivers/nfc/st21nfca/core.c @@ -218,7 +218,6 @@ static int st21nfca_hci_load_session(struct nfc_hci_dev *hdev) } } - memcpy(hdev->init_data.gates, st21nfca_gates, sizeof(st21nfca_gates)); free_list: kfree_skb(skb_pipe_list); return r; |