summaryrefslogtreecommitdiff
path: root/drivers/cpuidle
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2015-01-28 20:55:59 +0300
committerMarcel Holtmann <marcel@holtmann.org>2015-01-28 23:26:22 +0300
commit838f66e3ab5fcaa05fbf33acf189541078352685 (patch)
tree7c5ca46b57dc06b0b3980613101ef6512889c2b6 /drivers/cpuidle
parentce6bb9297c1bab350811d5003526704b9cd79c47 (diff)
downloadlinux-838f66e3ab5fcaa05fbf33acf189541078352685.tar.xz
Bluetooth: btusb: Remove redundant call to btusb_free_frags()
The btusb_disconnect() callback calls hci_unregister_dev() which in turn calls btusb_close() if the HCI device is powered. The btusb_close() function in turn will call btusb_free_frags(). It's therefore unnecessary to have another call to btusb_free_frags() in the btusb_disconnect() function. Besides the redundancy the second call seems to also cause some strange stability issues which this patch then also fixes. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/cpuidle')
0 files changed, 0 insertions, 0 deletions