Bluetooth: Make smp_chan_destroy() private to smp.c
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 11 Aug 2014 19:06:44 +0000 (22:06 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 14 Aug 2014 06:49:24 +0000 (08:49 +0200)
commit6f48e260a95c1a0161e5be39adb0f20c737fe459
treebc3617b65f3167fd51afc6797085d712fe28e9d7
parent86d1407cb9cd3cb866eae24a2aedb8006160db69
Bluetooth: Make smp_chan_destroy() private to smp.c

There are no external users of smp_chan_destroy() so make it private to
smp.c. The patch also moves the function higher up in the c-file in
order to avoid forward declarations.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/smp.c
net/bluetooth/smp.h