summaryrefslogtreecommitdiff
path: root/net/bluetooth/hci_event.c
diff options
context:
space:
mode:
authorRoman Smirnov <r.smirnov@omp.ru>2024-03-01 16:39:16 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2024-03-07 01:27:13 +0300
commita310d74dce686a6ed77155b5a5e67f0e7b3619fd (patch)
tree86e160e2d175a3293565b8f44e31983bd039587a /net/bluetooth/hci_event.c
parent3237da12a388d972c15d3ed4ce07c015309709ad (diff)
downloadlinux-a310d74dce686a6ed77155b5a5e67f0e7b3619fd.tar.xz
Bluetooth: mgmt: remove NULL check in add_ext_adv_params_complete()
Remove the cmd pointer NULL check in add_ext_adv_params_complete() because it occurs earlier in add_ext_adv_params(). This check is also unnecessary because the pointer is dereferenced just before it. Found by Linux Verification Center (linuxtesting.org) with Svace. Signed-off-by: Roman Smirnov <r.smirnov@omp.ru> Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'net/bluetooth/hci_event.c')
0 files changed, 0 insertions, 0 deletions