Bluetooth: kfree tmp rather than an alias to it
authorColin Ian King <colin.king@canonical.com>
Fri, 11 Aug 2017 18:33:04 +0000 (19:33 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 11 Aug 2017 19:19:46 +0000 (21:19 +0200)
commit3dfe55d9cae7413c1bd12cbc0f9145384f753014
tree147878acfad5cc4d9158b4c84885fab063e6fc77
parent198ec9ae052922d67491ab3cc3fd704580e0daf4
Bluetooth: kfree tmp rather than an alias to it

While the kfree of dhkey_a is of the same address of tmp, it
probably is clearer and more human readable if tmp is kfree'd
rather than dhkey_a.

Detected by CoverityScan, CID#1448650 ("Free of address-of expression")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/selftest.c