projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e8fc8c
)
greybus: control: remove some braces
author
Johan Hovold
<johan@hovoldconsulting.com>
Wed, 3 Aug 2016 12:09:29 +0000
(14:09 +0200)
committer
Greg Kroah-Hartman
<gregkh@google.com>
Wed, 3 Aug 2016 13:42:38 +0000
(15:42 +0200)
Remove some no-longer-needed braces around an error path.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/control.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/control.c
b/drivers/staging/greybus/control.c
index
34493d5
..
658f8a6
100644
(file)
--- a/
drivers/staging/greybus/control.c
+++ b/
drivers/staging/greybus/control.c
@@
-174,9
+174,8
@@
int gb_control_mode_switch_operation(struct gb_control *control)
return -ENOMEM;
ret = gb_operation_request_send_sync(operation);
- if (ret)
{
+ if (ret)
dev_err(&control->dev, "failed to send mode switch: %d\n", ret);
- }
gb_operation_put(operation);