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

Commit 0c1db731 authored by Dave Jones's avatar Dave Jones Committed by David S. Miller
Browse files

caif: Add missing braces to multiline if in cfctrl_linkup_request



The indentation here implies this was meant to be a multi-line if.

Introduced several years back in commit c85c2951
("caif: Handle dev_queue_xmit errors.")

Signed-off-by: default avatarDave Jones <davej@fedoraproject.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c0a77ec7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -293,10 +293,11 @@ int cfctrl_linkup_request(struct cflayer *layer,

		count = cfctrl_cancel_req(&cfctrl->serv.layer,
						user_layer);
		if (count != 1)
		if (count != 1) {
			pr_err("Could not remove request (%d)", count);
			return -ENODEV;
		}
	}
	return 0;
}