Bluetooth: SMP: Fix compilation with SC Only mode enabled
Bluetooth: SMP: Fix compilation with SC Only mode enabled

legacy_pairing_rsp is used only for legacy pairing. Fix following
with CONFIG_BLUETOOTH_SMP_SC_ONLY set.

  CC      net/bluetooth/smp.o
net/bluetooth/smp.c: In function 'legacy_pairing_rsp':
net/bluetooth/smp.c:1207:16: warning: implicit declaration of function
    'legacy_get_pair_method' [-Wimplicit-function-declaration]
  smp->method = legacy_get_pair_method(smp, remote_io);
                ^
net/bluetooth/smp.c:1209:8: warning: implicit declaration of function
    'legacy_request_tk' [-Wimplicit-function-declaration]
  ret = legacy_request_tk(smp);
        ^
net/bluetooth/smp.c:1216:10: warning: implicit declaration of function
    'legacy_send_pairing_confirm' [-Wimplicit-function-declaration]
   return legacy_send_pairing_confirm(smp);
          ^
net/bluetooth/smp.c: At top level:
net/bluetooth/smp.c:1201:16: warning: 'legacy_pairing_rsp' defined but not
    used [-Wunused-function]
 static uint8_t legacy_pairing_rsp(struct bt_smp *smp, uint8_t remote_io)
                ^
Change-Id: I0d65efa71859c23cf5b6f0bfa3386a23543bf907
Signed-off-by: Szymon Janc <b8f563e108973ccd513fe259bc96c595c4d39939@tieto.com>

runchip/zephyr-cc3200,nashif/zephyr,sharronliu/zephyr,aceofall/zephyr-iotos,sharronliu/zephyr,runchip/zephyr-cc3200,coldnew/zephyr-project-fork,fbsder/zephyr,galak/zephyr,fractalclone/zephyr-riscv,bigdinotech/zephyr,mirzak/zephyr-os,pklazy/zephyr,mbolivar/zephyr,ldts/zephyr,holtmann/zephyr,erwango/zephyr,explora26/zephyr,coldnew/zephyr-project-fork,32bitmicro/zephyr,mbolivar/zephyr,bboozzoo/zephyr,bigdinotech/zephyr,tidyjiang8/zephyr-doc,nashif/zephyr,zephyrproject-rtos/zephyr,kraj/zephyr,ldts/zephyr,finikorg/zephyr,bboozzoo/zephyr,kraj/zephyr,mirzak/zephyr-os,mbolivar/zephyr,sharronliu/zephyr,bigdinotech/zephyr,finikorg/zephyr,fbsder/zephyr,runchip/zephyr-cc3220,punitvara/zephyr,bboozzoo/zephyr,rsalveti/zephyr,mbolivar/zephyr,mirzak/zephyr-os,fractalclone/zephyr-riscv,zephyrproject-rtos/zephyr,runchip/zephyr-cc3200,rsalveti/zephyr,zephyrproject-rtos/zephyr,galak/zephyr,coldnew/zephyr-project-fork,sharronliu/zephyr,rsalveti/zephyr,ldts/zephyr,fbsder/zephyr,runchip/zephyr-cc3220,zephyrproject-rtos/zephyr,Vudentz/zephyr,explora26/zephyr,mirzak/zephyr-os,zephyriot/zephyr,ldts/zephyr,runchip/zephyr-cc3220,kraj/zephyr,Vudentz/zephyr,holtmann/zephyr,32bitmicro/zephyr,runchip/zephyr-cc3200,pklazy/zephyr,runchip/zephyr-cc3220,coldnew/zephyr-project-fork,rsalveti/zephyr,tidyjiang8/zephyr-doc,punitvara/zephyr,explora26/zephyr,galak/zephyr,punitvara/zephyr,galak/zephyr,galak/zephyr,pklazy/zephyr,ldts/zephyr,GiulianoFranchetto/zephyr,bboozzoo/zephyr,fbsder/zephyr,kraj/zephyr,explora26/zephyr,Vudentz/zephyr,pklazy/zephyr,bboozzoo/zephyr,GiulianoFranchetto/zephyr,fractalclone/zephyr-riscv,pklazy/zephyr,punitvara/zephyr,zephyrproject-rtos/zephyr,zephyriot/zephyr,aceofall/zephyr-iotos,finikorg/zephyr,32bitmicro/zephyr,nashif/zephyr,fractalclone/zephyr-riscv,fractalclone/zephyr-riscv,GiulianoFranchetto/zephyr,mbolivar/zephyr,mirzak/zephyr-os,32bitmicro/zephyr,tidyjiang8/zephyr-doc,runchip/zephyr-cc3220,tidyjiang8/zephyr-doc,GiulianoFranchetto/zephyr,nashif/zephyr,Vudentz/zephyr,coldnew/zephyr-project-fork,finikorg/zephyr,fbsder/zephyr,nashif/zephyr,zephyriot/zephyr,holtmann/zephyr,aceofall/zephyr-iotos,finikorg/zephyr,Vudentz/zephyr,aceofall/zephyr-iotos,erwango/zephyr,erwango/zephyr,runchip/zephyr-cc3200,GiulianoFranchetto/zephyr,holtmann/zephyr,erwango/zephyr,punitvara/zephyr,zephyriot/zephyr,holtmann/zephyr,bigdinotech/zephyr,rsalveti/zephyr,zephyriot/zephyr,sharronliu/zephyr,kraj/zephyr,erwango/zephyr,explora26/zephyr,aceofall/zephyr-iotos,tidyjiang8/zephyr-doc,Vudentz/zephyr,32bitmicro/zephyr,bigdinotech/zephyr