Bluetooth: remove set but not used variable 'smp'
authorYueHaibing <yuehaibing@huawei.com>
Mon, 23 Sep 2019 14:05:16 +0000 (14:05 +0000)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 16 Oct 2019 17:26:40 +0000 (19:26 +0200)
commit75f7293ac88800abbae6c20c78d0046546630629
tree8849f8eb0768f685567c0929280b1a62a793a82e
parentd9f45ab9e671166004b75427f10389e1f70cfc30
Bluetooth: remove set but not used variable 'smp'

Fixes gcc '-Wunused-but-set-variable' warning:

net/bluetooth/smp.c: In function 'smp_irk_matches':
net/bluetooth/smp.c:505:18: warning: variable 'smp' set but not used [-Wunused-but-set-variable]

net/bluetooth/smp.c: In function 'smp_generate_rpa':
net/bluetooth/smp.c:526:18: warning: variable 'smp' set but not used [-Wunused-but-set-variable]

It is not used since commit 28a220aac596 ("bluetooth: switch
to AES library")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/smp.c