sony-laptop: remove unnecessary assigment of len

The assignment of len = len is unnecessary, so remove it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
This commit is contained in:
Colin Ian King 2014-01-10 14:04:24 +00:00 committed by Matthew Garrett
parent b30bb89f0f
commit 2845f47723

View file

@ -791,7 +791,7 @@ static int sony_nc_buffer_call(acpi_handle handle, char *name, u64 *value,
void *buffer, size_t buflen)
{
int ret = 0;
size_t len = len;
size_t len;
union acpi_object *object = __call_snc_method(handle, name, value);
if (!object)