]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: clean up error pointer checking
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 20 Jul 2022 11:23:49 +0000 (14:23 +0300)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 22 Jul 2022 00:11:10 +0000 (17:11 -0700)
commit4d3ae1d534f2844492377c148d123f41ffa8a2b9
treed87a82baef33a7c01c7a2da3c9b83b00a490f873
parente0d60b59522ec97139b827812088a5b1ec6c1ed6
Bluetooth: clean up error pointer checking

The bt_skb_sendmsg() function can't return NULL so there is no need to
check for that.  Several of these checks were removed previously but
this one was missed.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
include/net/bluetooth/bluetooth.h