mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 00:40:56 +07:00
greybus: control: remove some braces
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>
This commit is contained in:
parent
6e8fc8c4c9
commit
081ee14ab4
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user