Commit 4cfabf09 authored by Viresh Kumar's avatar Viresh Kumar Committed by Greg Kroah-Hartman

greybus: operation: Remove unused variable 'buffer'

'buffer' isn't used in this function, remove it.
Reviewed-by: default avatarJohan Hovold <johan@hovoldconsulting.com>
Reviewed-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 62229a1b
...@@ -221,9 +221,7 @@ static void gb_operation_message_init(struct greybus_host_device *hd, ...@@ -221,9 +221,7 @@ static void gb_operation_message_init(struct greybus_host_device *hd,
size_t payload_size, u8 type) size_t payload_size, u8 type)
{ {
struct gb_operation_msg_hdr *header; struct gb_operation_msg_hdr *header;
u8 *buffer;
buffer = message->buffer;
header = message->buffer; header = message->buffer;
message->header = header; message->header = header;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment