Skip to content

Commit

Permalink
caif: Add missing braces to multiline if in cfctrl_linkup_request
Browse files Browse the repository at this point in the history
The indentation here implies this was meant to be a multi-line if.

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

Signed-off-by: Dave Jones <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Dave Jones authored and davem330 committed Sep 5, 2013
1 parent c0a77ec commit 0c1db73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/caif/cfctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -293,9 +293,10 @@ 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;
}
Expand Down

0 comments on commit 0c1db73

Please sign in to comment.