From: Johan Hedberg Date: Sat, 26 Jan 2013 22:31:32 +0000 (+0200) Subject: Bluetooth: Remove useless eir_len variable from EIR creation X-Git-Tag: v3.9-rc1~139^2~132^2^2~21^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=892bbc5794daac57bff09c584821ed271fa18046;p=pandora-kernel.git 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 Acked-by: Marcel Holtmann Signed-off-by: Gustavo Padovan --- Reading git-diff-tree failed