diff options
| author | 2013-04-06 20:28:49 +0200 | |
|---|---|---|
| committer | 2013-04-17 03:04:03 -0300 | |
| commit | 7350e6cf360d32206cbe4e3d34fb48ab863bdb14 (patch) | |
| tree | 6ed42830673826c03e918ea8e85c5fc34e47bc0e /kernel/debug/debug_core.c | |
| parent | Bluetooth: hidp: handle kernel_sendmsg() errors correctly (diff) | |
Bluetooth: hidp: merge hidp_process_{ctrl,intr}_transmit()
Both hidp_process_ctrl_transmit() and hidp_process_intr_transmit() are
exactly the same apart from the transmit-queue and socket pointers.
Therefore, pass them as argument and merge both functions into one so we
avoid 25 lines of code-duplication.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'kernel/debug/debug_core.c')
0 files changed, 0 insertions, 0 deletions
