]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: btusb: Use GFP_KERNEL in btusb_send_frame()
authorJohan Hedberg <johan.hedberg@intel.com>
Sun, 14 Sep 2014 05:49:34 +0000 (08:49 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 14 Sep 2014 06:56:46 +0000 (08:56 +0200)
commiteea58b9e9c0d60d364cb21f430fdb27b328b7138
treece53b26d615eeba86eae5b62e9a8d960d6118db6
parent085655c27a7668595675e60a607a3fa21e6b458c
Bluetooth: btusb: Use GFP_KERNEL in btusb_send_frame()

All hdev->send() calls are these days done through a work queue. For the
btusb driver this means the btusb_send_frame() function. Because of this
we can safely use GFP_KERNEL for all memory allocations in this code
path.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btusb.c