diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2013-01-27 00:31:32 +0200 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2013-02-01 15:50:17 -0200 |
commit | 892bbc5794daac57bff09c584821ed271fa18046 (patch) | |
tree | 5311131b07d1bd856ee28f2fa77636fe194d0e6f /net/nfc | |
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>
Diffstat (limited to 'net/nfc')
0 files changed, 0 insertions, 0 deletions