]> 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)
commitf155417733c9edac7db9abcf48876d1337eaafbf
treece53b26d615eeba86eae5b62e9a8d960d6118db6
parent7aa073a9828e541f640b7fa0bf7ef2c0047b5deb
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