projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d37b1db
)
greybus: operation: don't complete operation twice
author
Viresh Kumar
<viresh.kumar@linaro.org>
Wed, 19 Nov 2014 11:55:00 +0000
(17:25 +0530)
committer
Greg Kroah-Hartman
<greg@kroah.com>
Wed, 19 Nov 2014 18:44:14 +0000
(10:44 -0800)
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/operation.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/operation.c
b/drivers/staging/greybus/operation.c
index 520214bde878ee71193f4323a02bfa587934a4e2..a2b27aeefb7fd0d11e536e3ccd93d1e363cdb059 100644
(file)
--- a/
drivers/staging/greybus/operation.c
+++ b/
drivers/staging/greybus/operation.c
@@
-176,14
+176,12
@@
static void gb_operation_request_handle(struct gb_operation *operation)
*/
if (protocol->request_recv) {
protocol->request_recv(header->type, operation);
-
goto out
;
+
return
;
}
gb_connection_err(operation->connection,
"unexpected incoming request type 0x%02hhx\n", header->type);
operation->result = GB_OP_PROTOCOL_BAD;
-out:
- gb_operation_complete(operation);
}
/*