From: Markus Elfring Date: Mon, 12 Mar 2018 10:15:59 +0000 (+0100) Subject: Bluetooth: btmrvl: Delete an unnecessary variable initialisation in btmrvl_sdio_card_... X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9376e4a5a318e1dbf1c53a31cfbe919e0ba926b0;p=linux.git Bluetooth: btmrvl: Delete an unnecessary variable initialisation in btmrvl_sdio_card_to_host() The variable "payload" will eventually be set to an appropriate pointer a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring Signed-off-by: Marcel Holtmann --- diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl_sdio.c index cd27d2f48bf2f..6f99b9f3d57f2 100644 --- a/drivers/bluetooth/btmrvl_sdio.c +++ b/drivers/bluetooth/btmrvl_sdio.c @@ -689,7 +689,7 @@ static int btmrvl_sdio_card_to_host(struct btmrvl_private *priv) int ret, num_blocks, blksz; struct sk_buff *skb = NULL; u32 type; - u8 *payload = NULL; + u8 *payload; struct hci_dev *hdev = priv->btmrvl_dev.hcidev; struct btmrvl_sdio_card *card = priv->btmrvl_dev.card;