]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Remove useless l2cap_err_to_reason function
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 16 Oct 2013 08:20:49 +0000 (11:20 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 16 Oct 2013 08:22:55 +0000 (01:22 -0700)
commit8db252156f0174ffdaab4b3c606656c9275ef258
treec177c126fbb4a66a7c16b02fe2e67af034d766b4
parent41f586782936eb320b3901cc6d7e27d6c210fd51
Bluetooth: Remove useless l2cap_err_to_reason function

Now that the only reason code this function can return is
L2CAP_REJ_NOT_UNDERSTOOD we can just do the necessary assignment without
needing a separate function at all.

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