Commit 2845f477 authored by Colin Ian King's avatar Colin Ian King Committed by Matthew Garrett

sony-laptop: remove unnecessary assigment of len

The assignment of len = len is unnecessary, so remove it.
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarMatthew Garrett <matthew.garrett@nebula.com>
parent b30bb89f
...@@ -791,7 +791,7 @@ static int sony_nc_buffer_call(acpi_handle handle, char *name, u64 *value, ...@@ -791,7 +791,7 @@ static int sony_nc_buffer_call(acpi_handle handle, char *name, u64 *value,
void *buffer, size_t buflen) void *buffer, size_t buflen)
{ {
int ret = 0; int ret = 0;
size_t len = len; size_t len;
union acpi_object *object = __call_snc_method(handle, name, value); union acpi_object *object = __call_snc_method(handle, name, value);
if (!object) if (!object)
......
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