diff options
author | Prasanna Karthik <mkarthi3@visteon.com> | 2015-09-25 11:03:14 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-09-25 21:39:04 +0200 |
commit | 1f438c6138ac5739ce16c8db04689e438d65dfe6 (patch) | |
tree | b892b68a91a17a45d203f84f133f4b76d182e95d /drivers/bluetooth/btmrvl_sdio.c | |
parent | Bluetooth: btuart_cs: Comparison to NULL re-written (diff) | |
download | linux-1f438c6138ac5739ce16c8db04689e438d65dfe6.tar.xz linux-1f438c6138ac5739ce16c8db04689e438d65dfe6.zip |
Bluetooth: btmrvl: Comparison to NULL re-written
NOT NULL comparison modified to be readable, reported
by checkpatch.
Signed-off-by: Prasanna Karthik <mkarthi3@visteon.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btmrvl_sdio.c')
-rw-r--r-- | drivers/bluetooth/btmrvl_sdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl_sdio.c index 7f6fb1730fd1..71ea2a3af293 100644 --- a/drivers/bluetooth/btmrvl_sdio.c +++ b/drivers/bluetooth/btmrvl_sdio.c @@ -654,7 +654,7 @@ static int btmrvl_sdio_card_to_host(struct btmrvl_private *priv) /* Allocate buffer */ skb = bt_skb_alloc(num_blocks * blksz + BTSDIO_DMA_ALIGN, GFP_ATOMIC); - if (skb == NULL) { + if (!skb) { BT_ERR("No free skb"); ret = -ENOMEM; goto exit; |