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:
62229a1
)
greybus: operation: Remove unused variable 'buffer'
author
Viresh Kumar
<viresh.kumar@linaro.org>
Thu, 4 Jun 2015 04:28:21 +0000
(09:58 +0530)
committer
Greg Kroah-Hartman
<gregkh@google.com>
Thu, 4 Jun 2015 05:15:29 +0000
(14:15 +0900)
'buffer' isn't used in this function, remove it.
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/operation.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/operation.c
b/drivers/staging/greybus/operation.c
index 4f7a555e4b9658a69848f792f9d2d9f724767c1b..88b9f6a40c79f516db260661fe2a4e9f5bfc542a 100644
(file)
--- a/
drivers/staging/greybus/operation.c
+++ b/
drivers/staging/greybus/operation.c
@@
-221,9
+221,7
@@
static void gb_operation_message_init(struct greybus_host_device *hd,
size_t payload_size, u8 type)
{
struct gb_operation_msg_hdr *header;
- u8 *buffer;
- buffer = message->buffer;
header = message->buffer;
message->header = header;