mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacmn: usb: Remove usb_set_intfdata()
Remove usb_set_intfdata() as usb interface private data is not being used in driver. Change-Id: I65f718b8abe2f33ec7f180ec265baab9772d30d0 CRs-Fixed: 2427944
This commit is contained in:
parent
48debcb1f6
commit
5fc9a33c2e
1 changed files with 0 additions and 3 deletions
|
|
@ -347,8 +347,6 @@ void hif_usb_device_deinit(struct hif_usb_softc *sc)
|
|||
|
||||
usb_hif_cleanup_pipe_resources(device);
|
||||
|
||||
usb_set_intfdata(device->interface, NULL);
|
||||
|
||||
if (device->diag_cmd_buffer)
|
||||
qdf_mem_free(device->diag_cmd_buffer);
|
||||
|
||||
|
|
@ -377,7 +375,6 @@ QDF_STATUS hif_usb_device_init(struct hif_usb_softc *sc)
|
|||
|
||||
do {
|
||||
|
||||
usb_set_intfdata(interface, device);
|
||||
qdf_spinlock_create(&(device->cs_lock));
|
||||
qdf_spinlock_create(&(device->rx_lock));
|
||||
qdf_spinlock_create(&(device->tx_lock));
|
||||
|
|
|
|||
Loading…
Reference in a new issue