From: Viresh Kumar Date: Thu, 4 Jun 2015 04:28:21 +0000 (+0530) Subject: greybus: operation: Remove unused variable 'buffer' X-Git-Tag: v5.15~12752^2~378^2~21^2~1497 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4cfabf09dbcbd1ca44567542247925f02f71e656;p=platform%2Fkernel%2Flinux-starfive.git greybus: operation: Remove unused variable 'buffer' 'buffer' isn't used in this function, remove it. Reviewed-by: Johan Hovold Reviewed-by: Alex Elder Signed-off-by: Viresh Kumar Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/operation.c b/drivers/staging/greybus/operation.c index 4f7a555..88b9f6a 100644 --- 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;