git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a10f27c
)
Bluetooth: Remove useless eir_len variable from EIR creation
author
Johan Hedberg
<johan.hedberg@intel.com>
Sat, 26 Jan 2013 22:31:32 +0000
(
00:31
+0200)
committer
Gustavo Padovan
<gustavo.padovan@collabora.co.uk>
Fri, 1 Feb 2013 17:50:17 +0000
(15:50 -0200)
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>
No differences found