Bluetooth: ipsp: Fix checking for NULL pointer
Bluetooth: ipsp: Fix checking for NULL pointer

This may cause static analyser error such as the following:

  Null-checking "tmp" suggests that it may be null, but it has already
  been dereferenced on all paths leading to the check.
             if (tmp) {

Change-Id: Id04f8d052d8128003d5b91f7a8303940529ef261
Signed-off-by: Luiz Augusto von Dentz <8530c5ea66a1bdbc08f98bfcf183c8be901b5990@intel.com>

zephyriot/zephyr,fractalclone/zephyr-riscv,Vudentz/zephyr,holtmann/zephyr,aceofall/zephyr-iotos,aceofall/zephyr-iotos,galak/zephyr,holtmann/zephyr,pklazy/zephyr,fractalclone/zephyr-riscv,kraj/zephyr,explora26/zephyr,sharronliu/zephyr,runchip/zephyr-cc3200,pklazy/zephyr,rsalveti/zephyr,galak/zephyr,holtmann/zephyr,runchip/zephyr-cc3220,ldts/zephyr,mbolivar/zephyr,runchip/zephyr-cc3200,aceofall/zephyr-iotos,bboozzoo/zephyr,erwango/zephyr,erwango/zephyr,fbsder/zephyr,bboozzoo/zephyr,ldts/zephyr,bigdinotech/zephyr,GiulianoFranchetto/zephyr,pklazy/zephyr,punitvara/zephyr,fractalclone/zephyr-riscv,finikorg/zephyr,erwango/zephyr,holtmann/zephyr,zephyrproject-rtos/zephyr,runchip/zephyr-cc3220,bboozzoo/zephyr,zephyrproject-rtos/zephyr,fractalclone/zephyr-riscv,bigdinotech/zephyr,Vudentz/zephyr,GiulianoFranchetto/zephyr,nashif/zephyr,mbolivar/zephyr,explora26/zephyr,zephyrproject-rtos/zephyr,rsalveti/zephyr,galak/zephyr,punitvara/zephyr,zephyriot/zephyr,finikorg/zephyr,bboozzoo/zephyr,zephyrproject-rtos/zephyr,punitvara/zephyr,rsalveti/zephyr,fractalclone/zephyr-riscv,nashif/zephyr,sharronliu/zephyr,finikorg/zephyr,GiulianoFranchetto/zephyr,runchip/zephyr-cc3220,holtmann/zephyr,rsalveti/zephyr,kraj/zephyr,ldts/zephyr,Vudentz/zephyr,galak/zephyr,ldts/zephyr,galak/zephyr,explora26/zephyr,finikorg/zephyr,sharronliu/zephyr,explora26/zephyr,fbsder/zephyr,zephyriot/zephyr,mbolivar/zephyr,runchip/zephyr-cc3200,fbsder/zephyr,Vudentz/zephyr,nashif/zephyr,mbolivar/zephyr,bigdinotech/zephyr,runchip/zephyr-cc3220,finikorg/zephyr,fbsder/zephyr,bigdinotech/zephyr,zephyriot/zephyr,mbolivar/zephyr,pklazy/zephyr,Vudentz/zephyr,kraj/zephyr,aceofall/zephyr-iotos,sharronliu/zephyr,zephyrproject-rtos/zephyr,ldts/zephyr,pklazy/zephyr,nashif/zephyr,erwango/zephyr,zephyriot/zephyr,runchip/zephyr-cc3200,fbsder/zephyr,runchip/zephyr-cc3200,sharronliu/zephyr,erwango/zephyr,bigdinotech/zephyr,aceofall/zephyr-iotos,nashif/zephyr,runchip/zephyr-cc3220,GiulianoFranchetto/zephyr,explora26/zephyr,rsalveti/zephyr,kraj/zephyr,punitvara/zephyr,kraj/zephyr,Vudentz/zephyr,punitvara/zephyr,GiulianoFranchetto/zephyr,bboozzoo/zephyr