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)
commitdaf6a78c161fccd058ca2f1b21e757ebaa2e9909
tree5685cbcf85db875598ccebec5567d5f4f925ad2c
parentf2ba7fae044b578b068b40723dc3303b590abb78
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