Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f376cd6 authored by Johan Hedberg's avatar Johan Hedberg Committed by Marcel Holtmann
Browse files

Bluetooth: Fix minor coding style issue in smp.c



The convention for checking for NULL pointers is !ptr and not
ptr == NULL. This patch fixes such an occurrence in smp.c.

Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 923e2414
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -356,7 +356,7 @@ static int smp_e(struct crypto_blkcipher *tfm, const u8 *k, u8 *r)
	uint8_t tmp[16], data[16];
	int err;

	if (tfm == NULL) {
	if (!tfm) {
		BT_ERR("tfm %p", tfm);
		return -EINVAL;
	}