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

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
...@@ -293,10 +293,11 @@ int cfctrl_linkup_request(struct cflayer *layer, ...@@ -293,10 +293,11 @@ int cfctrl_linkup_request(struct cflayer *layer,
count = cfctrl_cancel_req(&cfctrl->serv.layer, count = cfctrl_cancel_req(&cfctrl->serv.layer,
user_layer); user_layer);
if (count != 1) if (count != 1) {
pr_err("Could not remove request (%d)", count); pr_err("Could not remove request (%d)", count);
return -ENODEV; return -ENODEV;
} }
}
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment