commit | 892bbc5794daac57bff09c584821ed271fa18046 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Sun Jan 27 00:31:32 2013 +0200 |
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | Fri Feb 01 15:50:17 2013 -0200 |
tree | 5311131b07d1bd856ee28f2fa77636fe194d0e6f | |
parent | a10f27cf4272033d148d91ff12bb8f4b67dfaca4 [diff] |
Bluetooth: Remove useless eir_len variable from EIR creation The amount of data encoded so far in the create_eir() function can be calculated simply through the difference between the data and ptr pointer variables. The eir_len variable then becomes essentially useless. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>