mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
NFC: st-nci: Remove HCI init_data.gates initialization in load_session
ndev->hci_dev->init_data.gates is already initialized in st_nci_hci_network. Cc: [email protected] Signed-off-by: Christophe Ricard <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
This commit is contained in:
parent
a1b0b94158
commit
543a0a301f
1 changed files with 0 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue