]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Remove unneeded calculation and magic number
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Thu, 3 May 2012 07:55:52 +0000 (10:55 +0300)
committerGustavo Padovan <gustavo@padovan.org>
Wed, 9 May 2012 04:40:53 +0000 (01:40 -0300)
commit06fea232f6929a278e0b2add4c5f97ea919eae07
tree5685cbcf85db875598ccebec5567d5f4f925ad2c
parent9e187a2d2910ba84a07a26cad47c20f0d33838f5
Bluetooth: Remove unneeded calculation and magic number

Remove magic number unneeded calculation since
hlen = L2CAP_HDR_SIZE + L2CAP_PSMLEN_SIZE

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo@padovan.org>
net/bluetooth/l2cap_core.c