diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2013-04-06 20:28:49 +0200 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2013-04-17 03:04:03 -0300 |
commit | 7350e6cf360d32206cbe4e3d34fb48ab863bdb14 (patch) | |
tree | 6ed42830673826c03e918ea8e85c5fc34e47bc0e /fs/namespace.c | |
parent | 2df012001d36e56cd92dab0255cf4bce3f5b16bc (diff) | |
download | op-kernel-dev-7350e6cf360d32206cbe4e3d34fb48ab863bdb14.zip op-kernel-dev-7350e6cf360d32206cbe4e3d34fb48ab863bdb14.tar.gz |
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 'fs/namespace.c')
0 files changed, 0 insertions, 0 deletions