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

Commit a5c2f4c1 authored by Markus Elfring's avatar Markus Elfring Committed by Marcel Holtmann
Browse files

Bluetooth: btmrvl: Delete an unnecessary variable initialisation in btmrvl_sdio_register_dev()



The local variable "ret" will be set to an appropriate value a bit later.
Thus omit the explicit initialisation at the beginning.

Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent f3863f1d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -920,7 +920,7 @@ static int btmrvl_sdio_register_dev(struct btmrvl_sdio_card *card)
{
	struct sdio_func *func;
	u8 reg;
	int ret = 0;
	int ret;

	if (!card || !card->func) {
		BT_ERR("Error: card or function is NULL!");